java.io.IOException

Failed to start Jetty

Samebug tips3

It might be that there's another process connecting to the same port you're trying to use, try to kill it or change the connection port.

Change the connection port and ip adress. If you're trying to connect to your server from your own computer, check if you haven't already connected to the server in another instance.

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web14273

  • via Google Groups by Miguel Alver, 11 months ago
    Failed to start Jetty
  • via Google Groups by Sunil Kumar, 2 months ago
    Failed to start Jetty
  • via Google Groups by Karl Davis, 7 months ago
    Failed to start Jetty
  • Stack trace

    • java.io.IOException: Failed to start Jetty at winstone.Launcher.<init>(Launcher.java:158) at winstone.Launcher.main(Launcher.java:356) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at Main._main(Main.java:307) at Main.main(Main.java:98) Caused by: java.net.BindException: Address already in use: bind at sun.nio.ch.Net.bind0(Native Method) at sun.nio.ch.Net.bind(Net.java:433) at sun.nio.ch.Net.bind(Net.java:425) at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:223) at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74) at org.eclipse.jetty.server.nio.SelectChannelConnector.open(SelectChannelConnector.java:187) at org.eclipse.jetty.server.AbstractConnector.doStart(AbstractConnector.java:316) at org.eclipse.jetty.server.nio.SelectChannelConnector.doStart(SelectChannelConnector.java:265) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64) at org.eclipse.jetty.server.Server.doStart(Server.java:293) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64) at winstone.Launcher.<init>(Launcher.java:156) ... 7 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    2 times, 10 months ago
    Unknown user
    Once, 10 months ago
    Once, 11 months ago
    2 times, 1 year ago
    Unknown user
    Once, 1 year ago
    143 more bugmates