Explore Courses Blog Tutorials Interview Questions
0 votes
in Java by (13.1k points)

I am getting the following error when I run this program on eclipse:


     [java] Error creating the server socket.

     [java] Oct 04, 2012 5:31:38 PM cascadas.ace.AceFactory bootstrap

     [java] SEVERE: Failed to create world : Address already in use: JVM_Bind

     [java] Java Result: -1


Total time: 10 seconds

Can anyone help me with this?

1 Answer

0 votes
by (26.7k points)

Basically, this error popped out because some of the services are bound to the same port. So you can use the TCPView application which will help to get what process is listening to which port. Once you get that, kill that process or you can close the connection.

I hope this will help.

Want to become a Java expert? join Java Course now!!

Browse Categories