相关推荐recommended
IDEA:运行Tomcat时报错“1099”:Address localhost:1099 is already in use
作者:mmseoamin日期:2023-12-14

IDEA:运行Tomcat时报错“1099”:Address localhost:1099 is already in use,第1张

1.报错的结果

报错Address localhost:1099 is already in use 意思就是: 地址localhost:1099已被使用

2.报错原因

1.tomcat的端口已经被使用,与运行的起了冲突 2.短时间内频繁运行tomcat服务器。

3.解决方法

1.win+R,打开命令提示符框,输入cmd,进入命令提示符IDEA:运行Tomcat时报错“1099”:Address localhost:1099 is already in use,第2张

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

IDEA:运行Tomcat时报错“1099”:Address localhost:1099 is already in use,第3张

 3.输入taskkill -f -pid PID

IDEA:运行Tomcat时报错“1099”:Address localhost:1099 is already in use,第4张

 4.重启Tomcat即可