0

When i start the development mode server in GWT, i get the following url

http://localhost:8080/myproject/show/mainpage?gwt.codesvr=127.0.1.1:9997

If i understand correctly, Jetty is running on port 8080 of localhost and my applications server is running on ip 127.0.1.1 and port 9997.

Is there a way to make the code server too listen on port 9997 of localhost or 127.0.0.1 insstead of 127.0.1.1 ?

Thank You

Kris
  • 1,403
  • 3
  • 17
  • 26
  • Hum, not sure what you mean. By default it listens on 127.0.0.1. Did you mistyped something? Or else, could you tell us how you launch your application server. – Guillaume Polet Feb 15 '12 at 16:03
  • I launch it by running ./run-client on my Ubuntu machine – Kris Feb 15 '12 at 16:14
  • From wiki: "The most commonly used IP address on the loopback device is 127.0.0.1 for IPv4, although any address in the range 127.0.0.0 to 127.255.255.255 is mapped to it". GWT development mode browser plugin is already listening to localhost for GWT development mode server. – Ivan Sopov Feb 15 '12 at 16:22
  • http://stackoverflow.com/questions/9386791/how-to-see-gwt-jetty-devmode-from-another-machine/9600986#9600986 – Vijay Sarin Mar 07 '12 at 12:39

1 Answers1

2

I am not sure what the run-client script does. Usually development mode is starting via ant devmode or directly in eclipse. If you use ant you can modify the build.xml file to change some parameters. In case of eclipse you can change the port and ip in debug/run configuration.

For for more details on configuration parameters in dev-mode, e.g.:

-port
-bindAddress

see here.

vinnyjames
  • 2,040
  • 18
  • 26
Ümit
  • 17,379
  • 7
  • 55
  • 74