Not able to connect to the remote server of neo4j database -


i trying data neo4j database @ remote location make ajax request follows:

$.ajax({     type: "post", //    headers: {"access-control-allow-origin": "*"},     url: "http://<mysite>.sb04.stations.graphenedb.com:24789/browser/",      headers: {     "authorization": "basic " + btoa('email' + ":" + 'mypw')   },     crossdomain: true,     accepts: { json: "application/json" },     datatype: "json",     data: {         "query": "start n  = node(*) return n",         "params": {}     },     success: function (data, textstatus, jqxhr) {         alert(textstatus);     },     error: function (jqxhr, textstatus, errorthrown) {         alert(textstatus);     } }); 

but getting particular error:

xmlhttprequest cannot load . no 'access-control-allow-origin' header present on requested resource. origin 'http://localhost:8383' therefore not allowed access. response had http status code 403.

please solve this...

while setting database server have whitelist ip may access explicitly or add * ip may access it.


Comments

Popular posts from this blog

javascript - Chart.js (Radar Chart) different scaleLineColor for each scaleLine -

apache - Error with PHP mail(): Multiple or malformed newlines found in additional_header -

java - Android – MapFragment overlay button shadow, just like MyLocation button -