java.net.SocketException: Can't 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 GitHub by willplaice
, 1 year ago
Address already in use
via GitHub by ccostel
, 1 year ago
Can't assign requested address
java.net.SocketException: Can't assign requested address
at java.net.PlainDatagramSocketImpl.join(Native Method)
at java.net.AbstractPlainDatagramSocketImpl.joinGroup(AbstractPlainDatagramSocketImpl.java:202)
at java.net.MulticastSocket.joinGroup(MulticastSocket.java:402)
at org.jolokia.discovery.MulticastUtil.joinMcGroupsOnAllNetworkInterfaces(MulticastUtil.java:136)
at org.jolokia.discovery.MulticastUtil.newMulticastSocket(MulticastUtil.java:38)
at org.jolokia.discovery.MulticastSocketListenerThread.(MulticastSocketListenerThread.java:60)
at org.jolokia.discovery.DiscoveryMulticastResponder.start(DiscoveryMulticastResponder.java:75)
at org.jolokia.http.AgentServlet.initDiscoveryMulticast(AgentServlet.java:176)
at org.jolokia.http.AgentServlet.init(AgentServlet.java:162)

Users with the same issue

916 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

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