I am running a gwt application with the host page hosted on a tom cat server. By default the domain name (i.e. document.domain) of the host html is mysystem.systemgroup.example.com:12345. I tried to retrieve JSON data from a server hosted at myserver.systemgroup.example.com:12345. The GET request failed with error net::ERR_CONNECTION_REFUSED (in chrome).
-- Then I changed the document domain to "example.com" using document.write() script and I am still getting the same error.
How do I avoid this issue? Both client and server are running in the same domain i.e. example.com.
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment