Running error: java.net. BindException: Address already in use: JVM_Bind & lt; null & gt;: 8080 (or 8009 or 8005), jvmbind

Source: Internet
Author: User

Running error: java.net. BindException: Address already in use: JVM_Bind <null>: 8080 (or 8009 or 8005), jvmbind

To modify the Tomcat port number, follow these steps:
1. Find the conf folder in the Tomcat directory.
2. Go to the conf folder and find the server. xml file.
3. Open the server. xml file (select notepad to open the file)
4. Find the following information in the server. xml file:

Figure 1: 8080 modify


Figure 2: 8005 modify

Figure 3: 8009 modify

5. For example, change port = "8080" to port = "8088" and save
6. start Tomcat and enter http: // 127.0.0.1: 8088/in the address bar of the IE browser/
If a cat or other information appears, the port number is successfully modified!
 

Running error: javanetBindException: Address already in use: JVM_Bind <null>: 8080

Port 8080 is occupied. For example, if you have enabled IIS, the port is not modified. It is also possible that an instance in the current JVM is running and the java * process ends in the task manager. After Tomcat is switched off, change 8080 to 8088 in the server. xml file in the conf directory. Then the access is localhost: 8088 /....

The error javanetBindException: Address already in use: JVM_Bind is displayed in java.

Your port is occupied. You should have enabled the service. You can buy the money to turn it off or open the task manager to see java. Exe, turn it off

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.