Mac端口号被占用

2022-09-27  本文已影响0人  tech_go

idea错误: 代理抛出异常错误: java.rmi.server.ExportException: Port already in use: 1099; nested exception is:
java.net.BindException: Address already in use (Bind failed)

Mac端口号被占用

1输入lsof -i:1099

COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
java 30340 xx 22u IPv6 0xda1c5c32061cd57 0t0 TCP *:rmiregistry (LISTEN)

2输入kill 30340

或者去活动监视器 PID 选中30340 双击 退出

上一篇下一篇

猜你喜欢

热点阅读