Starting tomcat v8.0 server at localhost encountered a problem
Several ports (8005, 8080, 8009) required by Tomcat v7.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).
How error will displayed in eclipse ide.
1. Open Eclipse Java EE IDE
2. Open "Server" Window that window has If you already add the server that will display. you don' t the server first add the server
3. Right click on server and select "Start".
When you run apache tomcat server run /start on eclipse, error will occured. that erroe will displayed above the picture.
How to Solve it.
1. Double click on server that will displayed a config. file. You have to change port numbers.
Default Port Name and Numbers
Tomcat admin port - 8005
HTTP/1.1 - 8080
AJP/1.3 - 8009
You have to change the port numbers (Example)
Tomcat admin port - 8005
HTTP/1.1 - 8080
AJP/1.3 - 8008
2. then will start the server, you won't see any error.
No comments:
Post a Comment