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

couchbase.com | 6 months ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to Rafael Fischer Viola . Or join the community to write better ones.
  1. 0
    samebug tip
    The system selects automatically a group owner. The owner is always 192.168.49.1, and maybe it's trying to connect to itself. If you want to select an owner yourself, you can change the value of ownerIntent, more on this here: https://goo.gl/DGEh7K
  2. 0

    Not able to connect couch mobile db to sync_gateway - Mobile - Couchbase Forums

    couchbase.com | 6 months ago
    org.apache.http.conn.HttpHostConnectException: Connection to refused
  3. 0

    GitHub comment 3#136073130

    GitHub | 2 years ago | llvasconcellos
    java.util.concurrent.ExecutionException: com.android.volley.VolleyError: java.net.ConnectException: failed to connect to /192.168.1.161 (port 9000) after 60000ms: isConnected failed: ECONNREFUSED (Connection refused)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    pastebin - Miscellany - post number 3387726

    pastebin.ca | 12 months ago
    java.net.ConnectException: failed to connect to timely-sync.appspot.com/74.125.136.141 (port 443) after 20000ms: isConnected failed: ECONNREFUSED (Connection refused)
  6. 0

    WifiP2pInfo.groupOwnerAddress.getHostAddress() wrong IP

    Stack Overflow | 2 years ago | Yoavst
    java.net.ConnectException: failed to connect to /192.168.49.1 (port 7958) after 5000ms: isConnected failed: ECONNREFUSED (Connection refused)

  1. Indri Yunita 1 times, last 2 weeks ago
  2. justCodeit 2 times, last 3 weeks ago
  3. filpgame 4 times, last 3 weeks ago
  4. Vikram 1 times, last 1 month ago
  5. poroszd 1 times, last 2 months ago
52 more registered users
25 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

    failed to connect to /127.0.0.1 (port 4984) after 60000ms: isConnected failed: ECONNREFUSED (Connection refused)

    at libcore.io.IoBridge.isConnected()
  2. Android
    IoBridge.connect
    1. libcore.io.IoBridge.isConnected(IoBridge.java:234)
    2. libcore.io.IoBridge.connectErrno(IoBridge.java:171)
    3. libcore.io.IoBridge.connect(IoBridge.java:122)
    3 frames
  3. Java RT
    Socket.connect
    1. java.net.PlainSocketImpl.connect(PlainSocketImpl.java:183)
    2. java.net.PlainSocketImpl.connect(PlainSocketImpl.java:452)
    3. java.net.Socket.connect(Socket.java:884)
    3 frames