原因(cause)
第一次使用mac,关闭idea时忘记关闭tomcat,这时再次启动tomcat会有提示:
错误: 代理抛出异常错误: java.rmi.server.ExportException: Port already in use: 1099; nested exception is:
java.net.BindException: Address already in use: JVM_Bind
本文介绍
本文主要解决mac中端口占用问题
解决
端口xxxx被占用了
1)打开终端输入:
2)lsof -i tcp:占用端口;
找到被占用的数字,我的是**;
lsof -i tcp:1099;
3)kill PID;
kill ****;