java.net.BindException: Address already in use

JIRA | Kevin Normoyle | 3 years ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to rafael . Or join the community to write better ones.
  1. 0
    samebug 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.
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0
    samebug 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.

  1. jstrayer 1 times, last 2 days ago
  2. tyson925 4 times, last 2 weeks ago
  3. Bugger 1 times, last 3 weeks ago
  4. Omya 1 times, last 1 month ago
  5. SteVio1989 2 times, last 4 days ago
44 more registered users
51 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.net.BindException

    Address already in use

    at sun.nio.ch.Net.bind()
  2. Java RT
    ServerSocketAdaptor.bind
    1. sun.nio.ch.Net.bind(Native Method)
    2. sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:124)
    3. sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:59)
    4. sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:52)
    4 frames
  3. water
    TCPReceiverThread.run
    1. water.TCPReceiverThread.run(TCPReceiverThread.java:43)
    1 frame