Modify the Tomcat default port

Source: Internet
Author: User

The default port for Tomcat modification on Windows is 80

  "1." Check if 80 port is occupied cmd---"Netstat-nao |  findstr 80  tcp    0.0.0.0:8009           0.0.0.0:0     &NBSP ;        listening       6892 tcp    0.0.0.0:8080       &NB Sp   0.0.0.0:0              listening       6892 TCP   &NBSP , 0.0.0.0:49156          0.0.0.0:0              listening &nbsp ;     1580 TCP    127.0.0.1:8005         0.0.0.0:0              listening       6892 tcp    127.0.0.1:23409        0 .0.0.0:0              listening       8380  "2." Find the corresponding occupancy program according to the PID if found to be The SYSTEM process consumes 80, and it is possible that IIS service consumption   can be resolved by modifying the registry: 1. Open registry: regedit 2, found: hkey_local_machine\system\Currentcontrolset\services\http 3, find the start on the right, change it to 0 4, reboot the system, process will not occupy 80 ports  

Modify the Tomcat default port

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.