Wednesday, December 3, 2014

IntelliJ IDEA, custom urls in hosts file

Hi,


in my hosts file I have

127.0.0.1 test.loc.com www.loc.com

I'm playing with cookies, create them for different domain names.

In IntelliJ's GWT configuration, in the Dev Mode Parameters I have

-startupUrl http://test.loc.com:8888 com.test.MyApp

The console output is

> Dev Mode initialized. Startup URL:   > http://test.loc.com:8888/MyApp.html?gwt.codesvr=127.0.0.1:9997

I have the "Open in browser" option checked. Chrome opens with the url http://127.0.0.1:8888/MyApp.html?gwt.codesvr=127.0.0.1:9997 and everything looks ok, same with localhost:8888. But when I open

http://test.loc.com:8888/MyApp.html?gwt.codesvr=127.0.0.1:9997

I get

Plugin failed to connect to Development Mode server at 127.0.0.1:9997

Using IntelliJ + Firefox or Eclipse + any browser my own urls work, Havent' tried other browsers. Is that a bug? Is this the right place to report it?

--
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