How Tomcat port number is occupied

After you configure the tomcat server in eclipse, an error in the following figure startup

Tip port is occupied.

the first method:

The end of the occupation of the port process

The second method, modify the port tomcat's.

1. Locate the tomcat conf directory and open the server.xml file

 

 2. FIG modifications are two port numbers 9090,8009

 

 

 

 

 3. Start tomcat server in eclipse, this time has successfully started, enter your browser to http: // localhost: 9090 / see kittens picture.

 

 

 

Guess you like

Origin www.cnblogs.com/YorkZhangYang/p/12317761.html