启动arthas-boot.jar端口占用
问题
[root@localhost arthas-4.0.4]# java -jar arthas-boot.jar [ERROR] The telnet port 3658 is used by process 7066 instead of target process 6155, you will connect to an unexpected process. [ERROR] 1. Try to restart arthas-boot, select process 7066, shutdown it first with running the 'stop' command. [ERROR] 2. Or try to stop the existing arthas instance: java -jar arthas-client.jar 127.0.0.1 3658 -c "stop" [ERROR] 3. Or try to use different telnet port, for example: java -jar arthas-boot.jar --telnet-port 9998 --http-port -1
解决
如果你不想停止进程 7066,可以尝试停止现有的 Arthas 实例。
java -jar arthas-client.jar 127.0.0.1 3658 -c "stop"
然后再启动
java -jar arthas-boot.jar