java.net.ConnectException: failed to connect to /192.168.5.111 (port 50000): connect failed: ETIMEDOUT (Connection timed out)

GitHub | rahil1991 | 1 year 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

    time out issue each time while sending data via WIFI

    GitHub | 1 year ago | rahil1991
    java.net.ConnectException: failed to connect to /192.168.5.111 (port 50000): connect failed: ETIMEDOUT (Connection timed out)
  2. 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
  3. 0

    Android Lollipop Wifi Socket java.net.ConnectException ETIMEDOUT

    Stack Overflow | 2 years ago
    java.net.ConnectException: failed to connect to /192.168.0.10 (port 7000): connect failed: ETIMEDOUT (Connection timed out)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Android TCP Server Client Communication

    Stack Overflow | 3 years ago | user934820
    java.net.ConnectException: failed to connect to www.google-analytics.com/173.194.39.41 (port 80): connect failed: ETIMEDOUT (Connection timed out)
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

    connect failed: ETIMEDOUT (Connection timed out)

    at libcore.io.Posix.connect()
  2. Android
    IoBridge.connect
    1. libcore.io.Posix.connect(Native Method)
    2. libcore.io.BlockGuardOs.connect(BlockGuardOs.java:111)
    3. libcore.io.IoBridge.connectErrno(IoBridge.java:137)
    4. libcore.io.IoBridge.connect(IoBridge.java:122)
    4 frames
  3. Java RT
    Socket.<init>
    1. java.net.PlainSocketImpl.connect(PlainSocketImpl.java:183)
    2. java.net.PlainSocketImpl.connect(PlainSocketImpl.java:163)
    3. java.net.Socket.startupSocket(Socket.java:590)
    4. java.net.Socket.tryAllAddresses(Socket.java:128)
    5. java.net.Socket.<init>(Socket.java:178)
    6. java.net.Socket.<init>(Socket.java:150)
    6 frames
  4. io.underdark.util
    NSLogger$2.run
    1. io.underdark.util.nslogger.NSLogger.connectImpl(SourceFile:163)
    2. io.underdark.util.nslogger.NSLogger.access$100(SourceFile:40)
    3. io.underdark.util.nslogger.NSLogger$2.run(SourceFile:152)
    3 frames
  5. Android Platform
    Looper.loop
    1. android.os.Handler.handleCallback(Handler.java:739)
    2. android.os.Handler.dispatchMessage(Handler.java:95)
    3. android.os.Looper.loop(Looper.java:135)
    3 frames
  6. io.underdark.util
    DispatchQueue$2.run
    1. io.underdark.util.dispatch.DispatchQueue$2.run(SourceFile:82)
    1 frame
  7. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:818)
    1 frame