"Port 80 occupied" solution.

Source: Internet
Author: User

 

Problem description: start Tomcat and set port 80. Port 80 is occupied and cannot be started.

 

Solution: for example, if you already have a solution on the same network, type netstat-ano in cmd.exe and you can see that port 80 is occupied by the process, and then stop the process service in the task manager.

 

Intermediate problem: I have encountered this problem twice. For the first time, a process in http occupies 80, but the task manager displays System, the final discovery is a process of the http protocol occupies (the process of discovery is also known on the Internet search, specific can refer to: http://www.bkjia.com/ OS /201111/111269.html login, the process of explicit stop is not stop, only in cmd.exe to use net stop http to stop, finally solved smoothly. The second time, when I solved the problem through the solution, I found that the subversion version was used to control the port. Before I started Tomcat, I submitted my project, so I find this service and stop it.

 

 

Note: If you set the subversion service to manually start and stop it in the service, you need to manually start the service next time before using version control.

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.