How do I resolve the java net BindException Address already in use JVM Bind error

0 votes

While using Eclipse, I got this error:

run: 
      [java] Error creating the server socket. 
      [java] Oct 04, 2012 5:31:38 PM cascadas.ace.AceFactory bootstrap 
      [java] SEVERE: Failed to create world : java.net.BindException: Address already in use: JVM_Bind 
      [java] Java Result: -1 
BUILD SUCCESSFUL 
Total time: 10 seconds

I'm not sure why it came up now, but it ran fine just a few hours ago. Do I need to restart my machine? How do I get to the bottom of it and will really appreciate any suggestions please.

Feb 22 in Java by Rahul
• 8,980 points
520 views

1 answer to this question.

0 votes

If you are aware about what port the process is running, then you can type: lsof -i:<port>.

For example, lsof -i:8080 used to list the process (pid) running on port 8080.

Following which kill the process with kill <pid>

answered Feb 22 by Aditya
• 7,280 points

Related Questions In Java

0 votes
2 answers

What is the use of toString method in Java and how can I use it ?

Whenever you require to explore the constructor ...READ MORE

answered Aug 23, 2018 in Java by Daisy
• 8,120 points
2,307 views
0 votes
1 answer

How to resolve the java.net.ConnectException in Java?

If you are getting java.net.ConnectionException, it means ...READ MORE

answered Jun 4, 2018 in Java by Akrati
• 3,170 points
1,301 views
+2 votes
1 answer

How do I ask the Selenium-WebDriver to wait for few seconds in Java?

There are two ways to wait: explicit ...READ MORE

answered Dec 19, 2018 in Java by Daisy
• 8,120 points

edited Dec 19, 2018 by Daisy 267 views
0 votes
2 answers

How do I get the current date and time using Java?

If you require a time stamp in ...READ MORE

answered Aug 23, 2019 in Java by Sirajul
• 59,170 points
1,054 views
+3 votes
11 answers

How to import a jar file in Eclipse?

Click on File > Import. The Import ...READ MORE

answered Aug 23, 2018 in Java by Daisy
• 8,120 points
280,694 views
0 votes
1 answer

Which is the best GUI designer for Eclipse?

Windows Builder Pro is the best GUI ...READ MORE

answered May 21, 2018 in Java by Akrati
• 3,170 points
966 views
0 votes
2 answers

When I am running eclispe on my computer it is throwing error. How to resolve it?

If you have downloaded the 64 bit ...READ MORE

answered Dec 10, 2018 in Java by Sushmita
• 6,900 points
434 views
0 votes
1 answer

Eclipse Oxygen fails to start

I think you need to make some ...READ MORE

answered Jun 7, 2018 in Java by code.reaper12
• 3,500 points
421 views
0 votes
1 answer

How do I get the current date in JavaScript?

To ensure that you get the current ...READ MORE

answered Feb 18 in Java by Aditya
• 7,280 points
21 views
0 votes
1 answer

How do I redirect with JavaScript?

To redirect to another page by Using ...READ MORE

answered Feb 16 in Java by Aditya
• 7,280 points
24 views
webinar REGISTER FOR FREE WEBINAR X
Send OTP
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP