Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

connection refused xmlhttprequest

var xhttp= new XMLHttpRequest();
xhttp.onreadystatechange = function() {
console.log(xhttp);

xhttp.onerror = function(e){
    alert("Unknown Error Occured. Server response not received.");
};

xhttp.open("POST", "http://localhost:8080/data", true);
xhttp.send();
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #connection #refused #xmlhttprequest
ADD COMMENT
Topic
Name
5+6 =