java.net.SocketException: Invalid argument or cannot assign requested address

Stack Overflow | Core | 4 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Tomcat start failure probably due to Linux network setup: java.net.BindException: Cannot assign requested address

    Stack Overflow | 4 years ago | Core
    java.net.SocketException: Invalid argument or cannot assign requested address
  2. 0

    Postgresql installation on FC5 2

    openbravo | 1 decade ago | lmheadlund
    java.net.SocketException: Network is unreachable
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Exception

    Apache Bugzilla | 6 years ago | msubbums
    java.net.SocketException: Network is unreachable
  5. 0

    Netbeans, Tomcat and JNI problem

    Oracle Community | 9 years ago | 843829
    java.net.SocketException: Successful WSAStartup not yet performed: create

  1. mauritius 1 times, last 5 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

    Invalid argument or cannot assign requested address

    at java.net.PlainSocketImpl.socketConnect()
  2. Java RT
    Socket.<init>
    1. java.net.PlainSocketImpl.socketConnect(Native Method)
    2. java.net.PlainSocketImpl.doConnect(Unknown Source)
    3. java.net.PlainSocketImpl.connectToAddress(Unknown Source)
    4. java.net.PlainSocketImpl.connect(Unknown Source)
    5. java.net.SocksSocketImpl.connect(Unknown Source)
    6. java.net.Socket.connect(Unknown Source)
    7. java.net.Socket.connect(Unknown Source)
    8. java.net.Socket.<init>(Unknown Source)
    9. java.net.Socket.<init>(Unknown Source)
    9 frames
  3. Embedded GlassFish Web
    JkCoyoteHandler.pause
    1. org.apache.jk.common.ChannelSocket.unLockSocket(ChannelSocket.java:492)
    2. org.apache.jk.common.ChannelSocket.pause(ChannelSocket.java:289)
    3. org.apache.jk.server.JkMain.pause(JkMain.java:725)
    4. org.apache.jk.server.JkCoyoteHandler.pause(JkCoyoteHandler.java:153)
    4 frames
  4. Glassfish Core
    Catalina$CatalinaShutdownHook.run
    1. org.apache.catalina.connector.Connector.pause(Connector.java:1029)
    2. org.apache.catalina.core.StandardService.stop(StandardService.java:566)
    3. org.apache.catalina.core.StandardServer.stop(StandardServer.java:744)
    4. org.apache.catalina.startup.Catalina.stop(Catalina.java:648)
    5. org.apache.catalina.startup.Catalina$CatalinaShutdownHook.run(Catalina.java:692)
    5 frames