• Register
0 votes
1.8k views

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.

Description:

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.

Action:

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?

2.3k points

Please log in or register to answer this question.

1 Answer

0 votes

Solution:

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.

15.1k points

Related questions

0 votes
1 answer 82 views
82 views
Problem: org.apache.catalina.lifecycleexception: failed to start component [connector[http/1.1-8080]]
asked Feb 18 Lucky Guy 1.5k points
0 votes
1 answer 193 views
193 views
Problem: I'm getting the following error when I try to run a simple JSP program on Tomcat in Eclipse. Several ports (8005, 8080, 8009) required by Tomcat v6.0 Server at localhost are already in use. The server may already be running in another process, or a system process ... server you will need to stop the other process or change the port number(s). How is this caused and how can I solve it?
asked Apr 25 sumaiya simi 43.9k points
0 votes
1 answer 115 views
115 views
Problem: I'm getting the following error when I try to run a simple JSP program on Tomcat in Eclipse. Several ports (8005, 8080, 8009) required by Tomcat v6.0 Server at localhost are already in use. The server may already be running in another process, or a system process ... server you will need to stop the other process or change the port number(s). How is this caused and how can I solve it?
asked Apr 24 Humaira ahmed 50.7k points
0 votes
1 answer 12 views
12 views
Problem: What should I do with this : The required server component failed to start so tomcat is unable to start.?
asked Jun 17 Sawyer Parviz 167k points
0 votes
1 answer 22 views
22 views
Problem: How to install spring tool suite in eclipse?
asked May 30 Junia Phoebe 83.8k points
0 votes
1 answer 113 views
113 views
Problem: Can anyone help me out? It showed failed in eclipse, if anyone know about this then please answer me.
asked Mar 21 niyatiry 3.9k points
0 votes
1 answer 11 views
11 views
Problem : Is there a method to resolve this issue: Port 8080 required by tomcat v7.0 server at localhost is already in use?
asked Jun 17 Sifat55 108k points
0 votes
2 answers 295 views
295 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 4 views
4 views
Problem : Tcp://localhost:8080.
asked Jul 10 Isac Christiaan 103k points
0 votes
1 answer 14 views
14 views
Problem: I have written a spring batch application using Spring boot. When I am trying to run that application using command line and classpath on my local system it is running fine. However, when I tried to run it on linux server it is giving ... \* -Dlogging.level.org.springframework=DEBUG -Dspring.profiles.active=dev -Dspring.batch.job.names=abcBatchJob com.aa.bb.StartSpringBatch > somelogs.log
asked Apr 24 Moumita Bhowmick 12.9k points