java.net.ConnectException

tip

First of all, check if your firewall is not blocking your connection. If it's not, you might need to explicitly set advertised.host.name to "advertised.host.name = yourIpAddress", this forces the hosts returned to be the resolvable IP address of your VM.

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

  • JNDI lookup EJB name not found - Genuitec
    via by Unknown author,
  • Taming the NIO circus
    via by 843790,
    • java.net.ConnectException: Connection refused: connect at sun.nio.ch.Net.connect(Native Method) at sun.nio.ch.SocketChannelImpl.connect(Unknown Source) at java.nio.channels.SocketChannel.open(Unknown Source)

    Users with the same issue

    Andreas HäberAndreas Häber
    4 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    poroszdporoszd
    1 times, last one,
    1 more bugmates