You should probably start by identifying what is using port 8888. How you do that depends on what OS you are using. If you are on Mac OS X, there is a built-in utility tool called Network Utility it can be found in the /Applications/Utility folder. For Windows or Linux there is a free tool called Nmap, which has a graphical front-end called Zenmap.
Of course, a quick and dirty approach would be to reboot your computer and hope that whatever was using port 8888 does not get launched automatically. Joel On Mar 6, 2011, at 5:35 AM, Daisy wrote: > Greetings All; > > I have used this demo > > http://code.google.com/p/gwt-google-apis/source/browse/trunk/language/samples/hellolanguage/src/com/google/gwt/language/sample/hellolanguage/client/HelloLanguage.java?r=1416 > > in eclipse (I have imported into my workspace, add jars and > libraries). > > but when i run it it gives this error: > ------------------- > Starting Jetty on port 8888 > [WARN] failed [email protected]:8888 > java.net.BindException: Address already in use: bind > at sun.nio.ch.Net.bind(Native Method) > at sun.nio.ch.ServerSocketChannelImpl.bind(Unknown Source) > at sun.nio.ch.ServerSocketAdaptor.bind(Unknown Source) > at > org.mortbay.jetty.nio.SelectChannelConnector.open(SelectChannelConnector.java: > 205) > at > org.mortbay.jetty.nio.SelectChannelConnector.doStart(SelectChannelConnector.java: > 304) > at > org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java: > 39) > at org.mortbay.jetty.Server.doStart(Server.java:233) > at > org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java: > 39) > at > com.google.gwt.dev.shell.jetty.JettyLauncher.start(JettyLauncher.java: > 565) > at com.google.gwt.dev.DevMode.doStartUpServer(DevMode.java:494) > at com.google.gwt.dev.DevModeBase.startUp(DevModeBase.java:1058) > at com.google.gwt.dev.DevModeBase.run(DevModeBase.java:800) > at com.google.gwt.dev.DevMode.main(DevMode.java:304) > [WARN] failed Server@1e4fc66 > java.net.BindException: Address already in use: bind > at sun.nio.ch.Net.bind(Native Method) > at sun.nio.ch.ServerSocketChannelImpl.bind(Unknown Source) > at sun.nio.ch.ServerSocketAdaptor.bind(Unknown Source) > at > org.mortbay.jetty.nio.SelectChannelConnector.open(SelectChannelConnector.java: > 205) > at > org.mortbay.jetty.nio.SelectChannelConnector.doStart(SelectChannelConnector.java: > 304) > at > org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java: > 39) > at org.mortbay.jetty.Server.doStart(Server.java:233) > at > org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java: > 39) > at > com.google.gwt.dev.shell.jetty.JettyLauncher.start(JettyLauncher.java: > 565) > at com.google.gwt.dev.DevMode.doStartUpServer(DevMode.java:494) > at com.google.gwt.dev.DevModeBase.startUp(DevModeBase.java:1058) > at com.google.gwt.dev.DevModeBase.run(DevModeBase.java:800) > at com.google.gwt.dev.DevMode.main(DevMode.java:304) > [ERROR] shell failed in doStartupServer method > Port 127.0.0.1:8888 is already is use; you probably still have another > session active > ------------------------------ > > I don't know how to solve it or how to change this port? > > Would you help me? > > Regards; > > -- > You received this message because you are subscribed to the Google Groups > "Google AJAX APIs" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/google-ajax-search-api?hl=en. > -- You received this message because you are subscribed to the Google Groups "Google AJAX APIs" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-ajax-search-api?hl=en.
