java.net.ConnectException: Connection refused: connect

Coderanch | somenath chatterjee | 9 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    How to read a file from remote System

    Coderanch | 9 years ago | somenath chatterjee
    java.net.ConnectException: Connection refused: connect
  2. 0

    getting Connection refused exception when trying to upload a file to the server using FTP

    Stack Overflow | 6 years ago | user532715
    java.net.ConnectException: Connection refused
  3. 0

    connection timed out exception while connecting to a ftp server

    Stack Overflow | 3 weeks ago | Mr. V
    java.net.ConnectException: Connection timed out: connect
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.net.ConnectException

      Connection refused: connect

      at java.net.PlainSocketImpl.socketConnect()
    2. Java RT
      FtpURLConnection.getOutputStream
      1. java.net.PlainSocketImpl.socketConnect(Native Method)
      2. java.net.PlainSocketImpl.doConnect(Unknown Source)
      3. java.net.PlainSocketImpl.connectToAddress(Unknown Source)
      4. java.net.PlainSocketImpl.connect(Unknown Source)
      5. java.net.Socket.connect(Unknown Source)
      6. java.net.Socket.connect(Unknown Source)
      7. sun.net.NetworkClient.doConnect(Unknown Source)
      8. sun.net.NetworkClient.openServer(Unknown Source)
      9. sun.net.ftp.FtpClient.openServer(Unknown Source)
      10. sun.net.ftp.FtpClient.openServer(Unknown Source)
      11. sun.net.www.protocol.ftp.FtpURLConnection.connect(Unknown Source)
      12. sun.net.www.protocol.ftp.FtpURLConnection.getOutputStream(Unknown Source)
      12 frames
    3. remoteFileTest
      AccessRemotFile.main
      1. remoteFileTest.AccessRemotFile.main(AccessRemotFile.java:42)
      1 frame