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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via wpthm.com by Unknown author, 2 years ago
Invalid argument or cannot assign requested address
via Oracle Community by 744256, 1 year ago
Invalid argument or cannot assign requested address
via oracle.com by Unknown author, 1 year ago
Invalid argument or cannot assign requested address
java.net.SocketException: Invalid argument or cannot assign requested address
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
at java.net.Socket.connect(Socket.java:519)
at weblogic.socket.SocketMuxer.newSocket(SocketMuxer.java:311)
at weblogic.socket.ChannelSocketFactory.createSocket(ChannelSocketFactory.java:82)
at weblogic.socket.ChannelSocketFactory.createSocket(ChannelSocketFactory.java:58)
at weblogic.net.http.HttpClient.openServer(HttpClient.java:355)
at weblogic.net.http.HttpClient.openServer(HttpClient.java:434)
at weblogic.net.http.HttpClient.(HttpClient.java:159)
at weblogic.net.http.HttpClient.(HttpClient.java:149)
at weblogic.net.http.HttpClient.New(HttpClient.java:269)
at weblogic.net.http.HttpURLConnection.connect(HttpURLConnection.java:169)
at weblogic.net.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:243)
at weblogic.deploy.service.internal.transport.http.HTTPMessageSender.sendMessageToServerURL(HTTPMessageSender.java:283)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 9 months ago
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
4 times, 1 month ago
2 times, 2 months ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.