Pattern selector

Most relevant patterns first. Most helpful ones displayed. Click here to show all.

  1. AbstractIdleService$1$1.run() has thrown a BindException
    Sisu Guava - Core Library
    0
    1
    0
  2. ServerSocketAdaptor.bind() has thrown a BindException
    Java Runtime
    198
    247
    62

Your stack trace compared to the selected pattern

Jump to solutionsExpand frames
java.net.BindException: Address already in use
3 matching frames hidden
    at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:214)
    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)
6 frames hidden

Solution

chinthana11 months ago

Check which program is running on the given port.

Windows: netstat -a -b -n (Use Resource Monitor if you are admin) Linux: lsof -i:<port>

Kill the process.

Windows taskkill -pid <process-id> /f Linux kill -9 <process-id>

Check the source of this solution for more info

External results for this pattern (10)

  1. NilukaSripalimvia GitHub1 week ago
    Address already in use: bind
    Show stack trace
  2. rajadainvia GitHub3 weeks ago
    Address already in use
    Show stack trace
  3. hao1939via GitHub3 weeks ago
    Problem binding to [0.0.0.0:50010] java.net.BindException: Address already in use; For more details see: http://wiki.apache.org/hadoop/BindException
    Show stack trace
  4. ash211via GitHub3 weeks ago
    Address already in use
    Show stack trace
  5. ash211via GitHub3 weeks ago
    Address already in use
    Show stack trace
  6. glassfishrobotvia GitHub1 month ago
    Address already in use: bind
    Show stack trace
  7. massdosagevia GitHub1 month ago
    Failed to start component [Connector[HTTP/1.1-18000]]
    Show stack trace
  8. ss207210via GitHub1 month ago
    Address already in use: bind
    Show stack trace
  9. jtcbrulevia GitHub1 month ago
    Address already in use: bind, compiling:(C:\cygwin\tmp\form-init8307404900158704503.clj:1:102)
    Show stack trace