My Gis Client Program, using OpenLayers, and my GeoServer were running on the same server, everything worked fine.
Now, I started a new instance of My Gis Client Program on another server. There, I get the following Problem:
WMS Layers work fine, but for the WFS Layer I get: Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at http://mygeoserver/mylayerr. This can be fixed by moving the resource to the same domain or enabling CORS.
What can I do about that?
tileOptions: {crossOriginKeyword: 'anonymous'}, transitionEffect: null, to the Layer Object, it does not change anything. – Lokomotywa Dec 03 '14 at 11:19