Port 80 (which is the Tomcat listening port) has been occupied by other programs

Source: Internet
Author: User

This indicates that port 80 (which is the Tomcat listening port) has been occupied by other programs. First, run the "netstat-ano" command to display the port status, and then find the port in the result, then, search for the corresponding program in the display of the input "tasklist" command based on its PID, And you can know its program name, find out the program source, and take appropriate measures. The method can be as follows: run the netstat-ano command: PROTO local address foreign address State pid tcp 0.0.0.0: 80 0.0.0.0: 0 listening 2544 TCP 0.0.0.0: 100 0.0.0.0: 0 listening 2544 TCP 0.0.0.0: 135 0.0.0.0: 0 listening 1404 TCP 0.0.0.0: 445 0.0.0.0: 0 listening 4 TCP 0.0.0.0: 1110 0.0.0.0: 0 listening 228 TCP 127.0.0.1: 1025 0.0.0.0: 0 listening 1052 TCP 127.0.0.1: 1159 127.0.0.1: 1110 close_wait 2992 TCP 127.0.0.1: 1297 127.0.0.1: 1110 close_wait 2992 TCP 127.0.0.1: 1324 127.0.0.1: 1110 close_wait 2992 it can be seen that port 80 is occupied by processes with a PID of 2544. Run the tasklist command: image name PID session name session # memory usage ================================== ========================================== system idle process 0 console 0 28 K system 4 console 0 264 K webthunder.exe 2544 console 0 12,120 K java.exe 2884 console 0 6,296 K tasklist.exe 3464 console 0 4,372 K 255.2544is the webthunder.exe process. Disable it. Restart tomcat. OK!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.