Connection to XDataServer fails

My WebCore app works perfectly in my test environment, and connects to the database with no error.

When I deploy to my production server, Windows 2008R2, connection to the XDataServer fails.

Cors is set to *

Any ideas?

Please check details in the Network tab of your browser developer tools. You might have the connection there and you should check the status code and if there is any JSON response or additional info regarding the request.

I thought localhost was a universal address on every computer.

The server is in a domain and when I use server address localhost.mydomainname.com XData connects to the database.

That's a strange address :slight_smile:

1 Like

It is a universal address on every computer. It points to the local computer itself.