java.net.ConnectException

Connection refused: connect 10:40:37.364

Samebug tips3

Firewall might be blocking your connection, or MySQL it's not running on your server machine.


rafaelrafael

Check if you have started your server, or if your server is set to listen to the port you're trying to connect and is waiting to accept connections and check if the firewall isn't blocking your connection.


rafaelrafael

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web2191

  • via Unknown by 3070371,
  • Stack trace

    • java.net.ConnectException: Connection refused: connect 10:40:37.364 at java.net.DualStackPlainSocketImpl.connect0(Native Method) at java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source) at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source) at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source) at java.net.AbstractPlainSocketImpl.connect(Unknown Source) at java.net.PlainSocketImpl.connect(Unknown Source) at java.net.SocksSocketImpl.connect(Unknown Source) at java.net.Socket.connect(Unknown Source) at java.net.Socket.connect(Unknown Source) at java.net.Socket.<init>(Unknown Source) at java.net.Socket.<init>(Unknown Source) at Vdb.SlaveSocket.<init>(SlaveSocket.java:49) at Vdb.SlaveJvm.connectToMaster(SlaveJvm.java:89) at Vdb.SlaveJvm.main(SlaveJvm.java:384)

    Write tip

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

    Users with the same issue

    Unknown visitor
    Unknown visitorOnce,
    JustinJustin
    18 times, last one
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    765 more bugmates