Start a new topic

Some Problem happen on the server-side

Some Problem happen on the server-side




 i'm test {POIDATA_SERVER: "http://xxx.xx.xxx.xx"} is Success run on wikitude sdk but  now i try move my service to different port{http://xxx.xxx.xxx.xxx:8080} happen the error it can't get the json data' i don't find where  about this question code.

 

$.getjson() can not read data on different port

 

the console error message:

 











XMLHttpRequest cannot load http://xxx.xx.xxx.xx:8080/test/?lat=121.22&lon=24.22 Origin http://xxx.xx.xx.xx is not allowed by Access-Control-Allow-Origin.

 

 

The stated error is a response of your webserver; it does not allow cross domain requests. Please check your server config to allow cross origin requests.
Login or Signup to post a comment