• Register
0 votes
1.2k 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?

8 4 2
2,300 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.

5 2 1
4,980 points

Related questions

0 votes
1 answer 24 views
24 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 18 views
18 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.2k points
0 votes
2 answers 102 views
102 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 3 views
3 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 How is this caused and how can I solve it?
asked Mar 24 ummesalma 25.2k points
0 votes
1 answer 76 views
76 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, 2020 Raphael Pacheco 4.9k points
1 vote
1 answer 2.1K views
2.1K 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, 2020 Martin K 6.6k points
0 votes
1 answer 925 views
925 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
0 votes
1 answer 15 views
15 views
Problem: failed to destroy end point associated with protocolhandler.
asked Feb 17 Ethan ross 2.7k points
1 vote
1 answer 4 views
4 views
Problem: I&rsquo;m getting an error while running my eclipse project on tomcat server: HTTP Status 404 - The requested resource (/ProjectName/) is not available. Nothing is missing in my files , I have Index.jsp in the /WebContent folder and my web.xml contains below ... <welcome-file>index.jsp</welcome-file> </welcome-file-list> I&rsquo;m not missing any file then why am I getting this error?
asked Apr 3 Ashty 6k points
0 votes
1 answer 5 views
5 views
Problem: Please help me &hellip; how can I solve it?. could not load the tomcat server configuration
asked Mar 22 Ifra 24.4k points