Error launching Tomcat: Agent throws Exception: Java.rmi.server.ExportException:Port already in use:1099 solution

Source: Internet
Author: User
Tags tomcat server
I. Description of the problem

As soon as the company starts the Tomcat server in IntelliJ idea, the error that appears is as follows:

  

Error: agent throws exception error: Java.rmi.server.ExportException:Port already in use:1099; nested exception is:java.net.BindExcep Tion:address already in Use:jvm_bind

It says that port 1099 is occupied by other processes.

Two. Workaround

Find the process that occupies port 1099, go to Windows command, see what process is consuming 1099 ports

Use the command:netstat-aon|findstr 1099 to find the process that occupies port 1099, as shown in:

  

Then close the process that occupies the port: taskkill-f-pid 3756

This will allow Tomcat to start normally.

Error launching Tomcat: Agent throws Exception: Java.rmi.server.ExportException:Port already in use:1099 solution

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.