Several ports (8005,808 0, 8009) required, 80058009

Source: Internet
Author: User

Several ports (8005,808 0, 8009) required, 80058009

Sometimes tomcat crashes. Restart eclipse and start the tomcat service again,

Several ports (8005,808 0, 8009) required by Tomcat v8.5 Server at localhost are already in use.

Literally, port 8005,808 0 and port 8009 are occupied.

Solution:
Method 1: Kill the software that occupies the port.

Open the task manager, find the Java Virtual Machine-related process javaw.exe, and end it. If the problem persists, let's look at it.

In dos (Administrator mode ):

1, netstat-ano | findstr8080

// Description: view the process that occupies port 8080.

2. taskkill/pid 6856/f

// Note: run the taskkill command in windows to end the process number shown above.

Method 2: Modify the default tomcat port number.

Modify the Tomcat configuration file. (C:/tomcat5.5.25/conf/server. xml)

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.