java.net.SocketException: errno: 126, error: Cannot assign requested address for fd: 19

java.com | 9 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

    Bug ID: JDK-4294599 socket creation fails with EADDRNOTAVAIL on Solaris 7

    java.com | 9 months ago
    java.net.SocketException: errno: 126, error: Cannot assign requested address for fd: 19
  2. 0

    Socket Exception Invalid argument create on Win... | Oracle Community

    oracle.com | 1 year ago
    java.net.SocketException: Invalid argument: create
  3. 0

    Issue in Jdeveloper

    Oracle Community | 11 months ago | 3254301
    java.net.SocketException: Permission denied: connect
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Malformed reply from SOCKS server

    jstock | 7 years ago | *anonymous
    java.net.SocketException: Malformed reply from SOCKS server

  1. mauritius 1 times, last 4 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. java.net.SocketException

    errno: 126, error: Cannot assign requested address for fd: 19

    at java.net.PlainSocketImpl.socketConnect()
  2. Java RT
    Socket.<init>
    1. java.net.PlainSocketImpl.socketConnect(Native Method)
    2. java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:316)
    3. java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:129)
    4. java.net.PlainSocketImpl.connect(PlainSocketImpl.java:116)
    5. java.net.Socket.<init>(Socket.java:277)
    6. java.net.Socket.<init>(Socket.java:104)
    6 frames
  3. Unknown
    HttpEcho.run
    1. HttpEcho.doClient(HttpEcho.java:318)
    2. HttpEcho.run(HttpEcho.java:134)
    2 frames
  4. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:488)
    1 frame