0

I have created the servlet program on the different location of Workspace and after that I created another location of workspace I am getting the error

enter image description here

But this error doesn't come when I run it on previous workspace location, and also I have closed the previous workspace still getting the error.

2 Answers 2

5

As the error clearly states, some other program is already listening on those ports.

You can use TCPView to find out what.

Sign up to request clarification or add additional context in comments.

Comments

0

It seems you have launched the project from both the workspaces, who are trying to use the same tomcat instance. So when the second Tomcat instance is launched it encounters port already in use error.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.