Not allowed by Access-Control-Allow-Origin

Hi

I’m trying to create a webchat with openfire and strophe.js.

I’ve installed openfire and started it. I can use the adminpanel in :9090 so it works.

When triyng the basic example from strophe i get this error:

XMLHttpRequest cannot load http://jabber.potterskolen.dk:7070/http-bind/. Origin http://jabber.potterskolen.dk is not allowed by Access-Control-Allow-Origin.

How can i allow it?

Blocking me either.

On Server Settings -> HTTP Binding there’s an option “Provide support for CORS” that needs to be suitably enabled. If it is already enabled, I’m afraid I’m out of ideas.

(another) Greg

The “Provide support for CORS" has been set to “enable”, but when send the request, server will return http status with 503.