Reputation: 117
i am beginner of spring boot. when i run the spring boot application i ran into the problem with The Tomcat connector configured to listen on port 8080 failed to start. Spring boot
i don't how to solve the problem. i have install mysql when i ran the mysql it port also 8080. so how to sort out the problm.
***************************
APPLICATION FAILED TO START
***************************
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 8080, or configure this application to listen on another port.
Upvotes: 0
Views: 1852
Reputation: 70
It is not necessarily required to change the port, you can just end the process of it to release it in your spring application
netstat -year | findstr 9330
taskkill /F /PID <Process ID>
SUCCESS: The process with PID < Process Id > has ended.
Upvotes: 0
Reputation: 1028
Your 8080 port is already used by some other process.
Change the port of spring-boot server.port=8090
in application.properties
.
You can change your application run server port any port number to if that port number would not belong to any other process on your computer.
and another thing if you use IntelliJ idea to develop, accidentally close your IDE without proper way this error may have occurred {personal experience}.
Upvotes: 0
Reputation: 4088
Seems like 8080 port is already used by some other process.
Change the port of spring-boot tomcat port by adding the server.port=8090
in application.properties
.
Change 8090 to any port you want to use.
Upvotes: 1