Thursday, 15 September 2016

XMLHttpRequest cannot load http://localhost: /geoserver/wfs. Origin http://localhost is not allowed by Access-Control-Allow-Origin




Possible Duplicate:
Setup own Openlayers Proxyhost
Error WFS Request, PROXY problems



I have this error:


XMLHttpRequest cannot load http:// localhost: /geoserver/wfs
Origin http:// localhost is not allowed by Access-Control-Allow-Origin


in my google chrome console when i make a WFS request. I use apache tomcat 6 and geoserver which run on 8081 and 8080 port. I read that this error is related to proxy.


How must to resolve my problem? I run my application on Windows 7 machine.




No comments:

Post a Comment

arcpy - Changing output name when exporting data driven pages to JPG?

Is there a way to save the output JPG, changing the output file name to the page name, instead of page number? I mean changing the script fo...