• Register
0 votes

Problem :

Currently I am trying to develop the REST API using the Spring Framework

I am unable to run my application because of below error.


The Tomcat connector configured to listen on port 8080 failed to start. The port may already be in use or the connector may be misconfigured.


Verify the connector's configuration, identify and stop any process that's listening on port 8090, or configure this application to listen on another port.

My 8080 port on my PC is seems to be busy.

How can I fix this issue?

8 4 2
2,300 points

1 Answer

0 votes


I know the solution for this issue. Go to your command prompt by just clicking on your Start and then typing cmd. In your command window you need to type in the below command:

netstat -a -n -o

In above command the -o parameter is used to add the PID to the end of a table. On pressing enter and you should see the active connections along with the PID.

Now you need to see the name of your process that is still using your port so you must go to Task Manager by simply pressing CTRL + SHIFT + ESC and then try to click on a Process tab.

Your task manager will not display the process ID by default so now you must click on View and then try to Select Columns.

If you  want to look into services which are running in background then simply right-click and select the open services. Then you can take the required action on that service.

Hope it fixes your issue.

5 2 1
4,980 points

Related questions

0 votes
2 answers 45 views
Problem : Facing bellow Spring boot error unable to start embeddedwebapplicationcontext due to missing embeddedservletcontainerfactory bean.
asked Nov 8, 2019 peterlaw 6.9k points
0 votes
1 answer 29 views
Problem: I am very new to Tomcat Server and Eclipse IDE. I have recently downloaded and installed the tomcat apache server and also tried to configure 8080 port on it.Now it is running very successfully on my pc. And after that I have also downloaded and installed ... > </html> But whenever I try to run it I receive below error: Starting tomcat server at localhost has encountered a problem.
asked Aug 20 Raphael Pacheco 4.9k points
1 vote
1 answer 718 views
Problem : I am very new to Eclipse, Tomcat and Java. Currently I am using Eclipse Neon and Tomcat server 9.0 and also the JDK 1.8. Everything was working perfectly well but unfortunately the current setup is now showing me below error: Starting tomcat v9.0 server at localhost ... app which I am currently working on. I have spent two days on above issue. So now I am looking for expert help on it.
asked May 18 Martin K 6.6k points
0 votes
1 answer 726 views
Problem : Getting strange error related to constant pool as follows org.apache.tomcat.util.bcel.classfile.classformatexception: invalid byte tag in constant pool: 19
asked Nov 11, 2019 peterlaw 6.9k points
1 vote
1 answer 62 views
Problem: I am very new to Web.xml coding. Currently I am facing serious problem because of my web.xml file. If I try to run my Apache tomcat 8 server then every time it shows me below error: Server tomcat v8.0 server at localhost failed to start. in eclipse. If I ... . This error made my life like the hell. So I am looking for the help from web.xml expert who can help me in fixing my problem.
asked May 18 Martin K 6.6k points