java.net.BindException

If you like a tip written by other Samebug users, mark is as helpful! Marks help our algorithm provide you better solutions and also help other users.
tip

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

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.


rafael
tip

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.


rafael

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

  • Unable to launch CT
    via by Stas Oskin,
  • Master can't exit when open port failed
    via by Gaojinchao,
  • GitHub comment 173#130556331
    via GitHub by dharmit
    ,
  • GitHub comment 108#85258052
    via GitHub by abhay-agarwal
    ,
    • java.net.BindException: Port in use: 0.0.0.0:8085 at org.apache.hadoop.hbase.http.HttpServer.openListeners(HttpServer.java:1017) at org.apache.hadoop.hbase.http.HttpServer.start(HttpServer.java:953) at org.apache.hadoop.hbase.http.InfoServer.start(InfoServer.java:91) at org.apache.hadoop.hbase.rest.RESTServer.main(RESTServer.java:248) Caused by: java.net.BindException: Address already in use at sun.nio.ch.Net.bind0(Native Method) at sun.nio.ch.Net.bind(Net.java:463) at sun.nio.ch.Net.bind(Net.java:455) at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:223) at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74) at org.mortbay.jetty.nio.SelectChannelConnector.open(SelectChannelConnector.java:216) at org.apache.hadoop.hbase.http.HttpServer.openListeners(HttpServer.java:1012) ... 3 more

    Users with the same issue

    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    bandoca
    122 times, last one,
    slash
    5 times, last one,
    rocday
    1 times, last one,
    136 more bugmates