Pattern selector

Most relevant patterns first. Most helpful ones displayed. Click here to show all.

  1. DefaultClientConnectionOperator.openConnection() has thrown a ConnectException
    Apache HttpClient
    5
    0
    0
  2. PlainSocketFactory.connectSocket() has thrown a ConnectException
    Apache HttpClient
    6
    0
    0

Your stack trace compared to the selected pattern

Jump to solutionsExpand frames
java.net.ConnectException: failed to connect to /10.0.2.2 (port 80): connect failed: ETIMEDOUT (Connection timed out)
4 matching frames hidden
    at org.apache.http.conn.scheme.PlainSocketFactory.connectSocket(PlainSocketFactory.java:119)
    at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:144)

External results for this pattern (5)

  1. melomgvia Stack Overflow5 months ago
    Connection to http://192.168.2.53:8081 refused
    Show stack trace
  2. mastervia Stack Overflow5 months ago
    Connection to http://10.0.2.2:8660 refused
    Show stack trace
  3. failed to connect to /10.0.2.2 (port 80): connect failed: ETIMEDOUT (Connection timed out)
    Show stack trace
  4. failed to connect to /127.0.0.1 (port 8090): connect failed: ECONNREFUSED (Connection refused)
    Show stack trace
  5. Connection to http://127.0.0.1 refused 06-07 22:48:15.419: W/System.err(3196): at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:183) 06-07 22:48:15.419: W/System.err(3196): at org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:164) 06-07 22:48:15.419: W/System.err(3196): at org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:119) 06-07 22:48:15.419: W/System.err(3196): at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:360)
    Show stack trace