java.net.BindException: Failed to listen on port 10000 because it's already in use.

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,
Expert tip

Try changing the port in core-site.xml from 9000 to 9001 as it seems port 9000 doesn't work.

,
Expert tip

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.

Solutions on the web

via Jenkins JIRA by Vincent Latombe, 1 year ago
Failed to listen on port 10000 because it's already in use.
via Jenkins JIRA by Vincent Latombe, 1 year ago
Failed to listen on port 10000 because it's already in use.
via GitHub by mtscout6
, 2 years ago
Failed to listen on port 50000 because it's already in use.
via GitHub by jgillich
, 2 years ago
Failed to listen on port 50000 because it's already in use.
java.net.BindException: Failed to listen on port 10000 because it's already in use.
at sun.nio.ch.Net.bind0(Native Method)
at sun.nio.ch.Net.bind(Net.java:436)
at sun.nio.ch.Net.bind(Net.java:428)
at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:214)
at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74)
at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:67)
at hudson.TcpSlaveAgentListener.(TcpSlaveAgentListener.java:72)
at jenkins.model.Jenkins.(Jenkins.java:825)
at hudson.model.Hudson.(Hudson.java:83)
at hudson.model.Hudson.(Hudson.java:79)
at hudson.WebAppMain$3.run(WebAppMain.java:225)

Users with the same issue

12 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
4 times, 1 year ago
Once, 2 months ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.