Idea启动Tomcat报错1099 is already in use

  • IDEA中启动Tomcat报错,Error running Tomcat7.0.52: Address localhost:1099 is already in use 或者是 java.rmi.server.ExportException: Port already in use: 1099 ,表示1099端口被其他进程占用了。

windows下解决办法:

1 找到占用1099号端口的进程

输入netstat -aon | findstr 1099,找到占用1099端口的进程ID:PID

2 将此进程kill掉

输入taskkill -f -pid PID

你可能感兴趣的:(Idea启动Tomcat报错1099 is already in use)