java.net.BindException: Address already in use: Cannot bind

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 river-user by Girbea Alina, 1 year ago
Address already in use: Cannot bind
via river-user by Girbea Alina, 1 year ago
Address already in use: Cannot bind
via incubator-river-user by Girbea Alina, 1 year ago
Address already in use: Cannot bind
java.net.BindException: Address already in use: Cannot bind
at java.net.PlainDatagramSocketImpl.bind0(Native Method)
at java.net.PlainDatagramSocketImpl.bind(Unknown Source)
at java.net.DatagramSocket.bind(Unknown Source)
at java.net.MulticastSocket.(Unknown Source)
at java.net.MulticastSocket.(Unknown Source)
at net.jini.discovery.LookupDiscovery$AnnouncementListener.(LookupDiscovery.java:1030)
at net.jini.discovery.LookupDiscovery$7.run(LookupDiscovery.java:3091)
at net.jini.security.Security$5.run(Security.java:543)
at net.jini.security.Security.doPrivileged(Security.java:540)
at net.jini.discovery.LookupDiscovery.beginDiscovery(LookupDiscovery.java:3089)
at net.jini.discovery.LookupDiscovery.(LookupDiscovery.java:1946)
at net.jini.discovery.LookupDiscoveryManager.beginDiscovery(LookupDiscoveryManager.java:1549)
at net.jini.discovery.LookupDiscoveryManager.(LookupDiscoveryManager.java:902)
at sample.service.FatServiceImpl.init(FatServiceImpl.java:91)
at sample.service.FatServiceImpl.(FatServiceImpl.java:40)
at sample.service.FatServiceImpl.(FatServiceImpl.java:43)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Once, 11 months 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.