org.apache.http.conn.ConnectTimeoutException: Connect to 192.168.50.5:1500 [/192.168.50.5] failed: Connection timed out

Stack Overflow | Sonn | 7 months 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

    Error org.apache.http.conn.ConnectionTimeOutException when sending http request from VM to Host machine

    Stack Overflow | 7 months ago | Sonn
    org.apache.http.conn.ConnectTimeoutException: Connect to 192.168.50.5:1500 [/192.168.50.5] failed: Connection timed out
  2. 0

    GitHub comment 380#106480510

    GitHub | 2 years ago | symcssn
    org.openstack4j.api.exceptions.ConnectionException: Connect to **** failed: Connection timed out
  3. 0

    Problem with org.apache.http.conn.ConnectTimeoutException

    GitHub | 1 year ago | lewismc
    java.lang.Exception: org.apache.http.conn.ConnectTimeoutException: Connect to 172.XX.XX.XX:XXXXX[/172.XX.XX.XX] failed: Connection timed out
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Connection timeout exception happening after upgrading to 1.11 from 1.10.4

    GitHub | 8 months ago | ikari7789
    org.apache.http.conn.ConnectTimeoutException: Connect to internal.bitbucket-server.com:443 [internal.bitbucket-server.com/X.X.X.X] failed: Connection timed out
  6. 0

    GitHub comment 380#106480510

    GitHub | 2 years ago | symcssn
    org.openstack4j.api.exceptions.ConnectionException: Connect to **** failed: Connection timed out

  1. osvzs 4 times, last 2 days ago
  2. poroszd 2 times, last 5 days ago
  3. raytest 3 times, last 2 weeks ago
  4. Dunmer 264 times, last 3 weeks ago
  5. jf-ast 2 times, last 3 weeks ago
62 more registered users
33 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.net.ConnectException

    Connection timed out

    at java.net.PlainSocketImpl.socketConnect()
  2. Java RT
    Socket.connect
    1. java.net.PlainSocketImpl.socketConnect(Native Method)
    2. java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
    3. java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
    4. java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
    5. java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
    6. java.net.Socket.connect(Socket.java:589)
    6 frames
  3. Apache HttpClient
    CloseableHttpClient.execute
    1. org.apache.http.conn.socket.PlainConnectionSocketFactory.connectSocket(PlainConnectionSocketFactory.java:74)
    2. org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:141)
    3. org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:353)
    4. org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:380)
    5. org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:236)
    6. org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:184)
    7. org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:88)
    8. org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110)
    9. org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:184)
    10. org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82)
    11. org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:107)
    11 frames
  4. org.eclipse.om2m
    ListeningMonitor$MyHandler.handle
    1. org.eclipse.om2m.sample.sendalarmmessage.MessageSender.post(MessageSender.java:27)
    2. org.eclipse.om2m.sample.sendalarmmessage.ListeningMonitor$MyHandler.handle(ListeningMonitor.java:205)
    2 frames
  5. Java RT
    Thread.run
    1. com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:79)
    2. sun.net.httpserver.AuthFilter.doFilter(AuthFilter.java:83)
    3. com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:82)
    4. sun.net.httpserver.ServerImpl$Exchange$LinkHandler.handle(ServerImpl.java:675)
    5. com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:79)
    6. sun.net.httpserver.ServerImpl$Exchange.run(ServerImpl.java:647)
    7. sun.net.httpserver.ServerImpl$DefaultExecutor.execute(ServerImpl.java:158)
    8. sun.net.httpserver.ServerImpl$Dispatcher.handle(ServerImpl.java:431)
    9. sun.net.httpserver.ServerImpl$Dispatcher.run(ServerImpl.java:396)
    10. java.lang.Thread.run(Thread.java:745)
    10 frames