org.apache.http.conn.HttpHostConnectException: Connection to http://192.168.1.42 refused

Stack Overflow | kishore | 1 month 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

    Connection refused in Android M while trying httprequest from Android Service

    Stack Overflow | 1 month ago | kishore
    org.apache.http.conn.HttpHostConnectException: Connection to http://192.168.1.42 refused
  2. 0

    check my application on tablet with server runs in the network

    Stack Overflow | 4 years ago | ranjith
    org.apache.http.conn.HttpHostConnectException: Connection to http://192.168.1.1:8080 refused
  3. 0

    HTTP Connection errors in android eclise

    Stack Overflow | 2 years ago | Nisa Anwaar
    org.apache.http.conn.HttpHostConnectException: Connection to http://192.168.15.210 refused
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Connection refused android

    Stack Overflow | 3 years ago | timestron
    org.apache.http.conn.HttpHostConnectException: Connection to http://192.168.1.135:9000 refused
  6. 0

    in API call Http post getting connection timeout Exception in android

    Stack Overflow | 1 year ago | Riya
    org.apache.http.conn.HttpHostConnectException: Connection to http://192.168.10.1:808 refused 10-05 07:26:46.682: W/System.err(1314): at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:183)

  1. Indri Yunita 56 times, last 2 months ago
  2. rp 1 times, last 2 months ago
7 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. android.system.ErrnoException

    socket failed: EACCES (Permission denied)

    at libcore.io.Posix.socket()
  2. Android
    IoBridge.socket
    1. libcore.io.Posix.socket(Native Method)
    2. libcore.io.BlockGuardOs.socket(BlockGuardOs.java:282)
    3. libcore.io.IoBridge.socket(IoBridge.java:604)
    3 frames
  3. Java RT
    Socket.connect
    1. java.net.PlainSocketImpl.create(PlainSocketImpl.java:198)
    2. java.net.Socket.checkOpenAndCreate(Socket.java:689)
    3. java.net.Socket.connect(Socket.java:849)
    3 frames
  4. Apache HttpClient
    AbstractHttpClient.execute
    1. org.apache.http.conn.scheme.PlainSocketFactory.connectSocket(PlainSocketFactory.java:124)
    2. org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:149)
    3. org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:169)
    4. org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:124)
    5. org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:370)
    6. org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:560)
    7. org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:492)
    8. org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:470)
    8 frames
  5. com.aceuat.sms
    ACESMSGService$1$1.run
    1. com.aceuat.sms.ACESMSGService.connectServerTeachr(ACESMSGService.java:213)
    2. com.aceuat.sms.ACESMSGService$1$1.run(ACESMSGService.java:103)
    2 frames
  6. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:818)
    1 frame