‘Starting Tomcat Server at localhost’ has encountered a problem
In this video I have shown how to solve the error.
'Starting Tomcat v6.0 Server at localhost' has encountered a problem. Several ports (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 may be using the port. To start this server you will need to stop the other process or change the port number(s).
Please note that all the below solutions are common for the different versions of tomcat like v6.0, v7.0, v8.0, v9.0.. or more.
Solutions:
-
Close the Service or Process using port 8080
1.1 Normally the port 8080 is used by javaw.exe process.
1.2 Simply open task manager and stop the process.In windows 10 pc stop all JAVA services or process in the task manager.
1.3 If the error still persists, Open the Resource Manager(Search Resource Manager in Task bar in windows PC). And check the program or service which is using the port 8080. And then go to task manager to stop the Program.
-
Change the port number to any other unused port numbers
2.1 Open the Server Administrator by double clicking the Server.2.2 Now change the port numbers to any unused port number
for eg: Change the port numbers as,
Tamcat admin port-8006
HTTP-8081
AJP-8019Now Restart the server. It should start the Server
0 Comments
Comments
Leave a Comment