Join 1M+ other developers and:
- Get help and share knowledge in Q&A
- Subscribe to topics of interest
- Get courses & tools that help you grow as a developer or small business owner
Why can my application not use port 8080?
I am trying to run an application, but it doesn’t start, returning the following 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.
I tried using netstat to see what application is using port 8080, but it does not seem that there is any application listening on that port.
I tried changing the port to 8081 and 8082, but was unable to connect with those either.
Finally I used sudo to run the application and now it does start, however I do not want to run the application with root access.
Why can my application not use port 8080 without root access?
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.×