java.net.ConnectException

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

Check if your server (or a proxy server) is not going up and down. There might be something between a proxy and a client sending intermittent requests to non-functioning hosts as well. There might as well be too many requests in a short amount of time.

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

  • Connection refused: connect
    via by Gus Spain,
  • sockets
    via by Leonardo Salatino,
  • JUnit problem
    via by hi...@bigmailbox.net,
  • junit socket error
    via by MileHighCelt,
  • socket creation
    via by hilz,
  • Problem conecting
    via jtds by cacho
    ,
    • java.net.ConnectException: Connection refused: connect at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158) at java.net.Socket.connect(Socket.java:452) at java.net.Socket.connect(Socket.java:402) at java.net.Socket.<init>(Socket.java:309) at java.net.Socket.<init>(Socket.java:124) at queryAnalyzer.action(queryAnalyzer.java:314) at Socket_server$Client.run(Socket_server.java:38) at ThreadPoolWorker.runIt(ThreadPoolWorker.java:72) at ThreadPoolWorker.runWork(ThreadPoolWorker.java:63) at ThreadPoolWorker.access$000(ThreadPoolWorker.java:3) at ThreadPoolWorker$1.run(ThreadPoolWorker.java:25) at java.lang.Thread.run(Thread.java:534)

    Users with the same issue

    Unknown visitor
    Unknown visitor1 times, last one,
    CasperCasper
    6 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    820 more bugmates