When I run my application on the server in Eclipse, I have the message: "Port 8080 required by Tomcat v8.0 Server at localhost is already in use. The server may already be running in another process, or a system process may be using the port. To start this server, you will need to stop the other process or change the port number(s)". Other projects are closed. Can anybody help me with the problem? I`m beginner in Java.
0
votes
3 Answers
1
votes
1
votes
you can go to conf directory and locate server.xml file and go to line started by connector context and change the port from 8080 to any port you like and start tomcat server. you can follow this guide : https://www.mkyong.com/tomcat/how-to-change-tomcat-default-port/
0
votes
Referring this post.
- Go to
/bin
subfolder of the Tomcat installation folder and execute theshutdown.bat
(Windows) orshutdown.sh
(Unix) script.- If in vain, close Eclipse and then open the task manager and kill all java and/or javaw processes.