PlainSocketImpl.doConnect() has thrown a ConnectException

java.net.ConnectException
Javadoc
Signals that an error occurred while attempting to connect a socket to a remote address and port. Typically, the connection was refused remotely (e.g., no process is listening on the remote address/port). @since JDK1.1
at java.net.PlainSocketImpl.socketConnect
(source)
at java.net.PlainSocketImpl.doConnect

Typical Exception Messages

  1. Connection refused: connect
  2. Connection refused
  3. Connection timed out: connect
  4. Connection timed out
  5. Operation timed out: connect
  6. <No message>
  7. Operation timed out
  8. Connection refused: no further information
  9. java.net.ConnectException: Connection refused: connect
  10. Connection refused: connect [Root exception is java.net.ConnectException: Connection refused: connect]

Origin

Client cannot establish connection with the server

java.net.ConnectException
java.net.PlainSocketImpl.socketConnect
4832Web pages
1Solution

Similar

Specific cases

External results for this pattern (2803)

  1. varun tahinvia Google Groups3 days ago
    Connection timed out: connect
    Show stack trace
  2. 629006via Oracle Community1 month ago
    Could not connect to SMTP host: localhost, port: 25; nested exception is: java.net.ConnectException: Connection refused: connect This problem occurred in the following place: javax.mail.MessagingException: Could not connect to SMTP host: localhost, port: 25; nested exception is: java.net.ConnectException: Connection refused: connect
    Show stack trace
  3. Sandrine Beauchevia Google Groups1 month ago
    connection refused or timed out to BasicObjectEndpoint[2e78803a-3be7-49f5-ba1d-bfdd59a0debb,T cpEndpoint[192.168.1.88:63613]]; nested exception is: java.net.ConnectException: Connection timed out: connect
    Show stack trace
  4. sebvia Google Groups1 month ago
    Connection refused
    Show stack trace
  5. Adam Blomekevia Google Groups1 month ago
    Connection refused: connect
    Show stack trace
  6. Unknown authorvia Google Groups1 month ago
    Connection to http://localhost:3001 refused Build info: version: 'unknown', revision: 'unknown', time: 'unknown' System info: os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.6.8', java.version: '1.6.0_31' Driver info: driver.version: IosNativeDriver
    Show stack trace
  7. Gantipp Kongkaeowvia Google Groups1 month ago
    Connection to http://localhost:3001 refused Build info: version: 'unknown', revision: 'unknown', time: 'unknown' System info: os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.7.3', java.version: '1.6.0_31' Driver info: driver.version: IosNativeDriver
    Show stack trace
  8. Tonté Pouncilvia Google Groups1 month ago
    Connection error on: sun.net.www.protocol.http.HttpURLConnection:http://localhost:9876/jstd/proxy
    Show stack trace
  9. kitokidvia Google Groups1 month ago
    Could not connect to SMTP host: localhost, port: 25; nested exception is: java.net.ConnectException: Connection refused: connect
    Show stack trace
  10. wingvia Google Groups1 month ago
    Conn ection refused: connect
    Show stack trace