好吧,這個問題比較low,但是記錄一下,以免后期遺忘。
說白了,這個問題就是端口被占用了。
問題:
qos-server can not bind localhost:22222, dubbo version: 2.6.0, current host: 127.0.0.1
java.net.BindException: Address already in use: bind
看翻譯:【22222端口被占用】
解決辦法:
查看占用程序的pid
netstat -ano | findstr 22222
通過pid,停止程序
taskkill /f /pid 20720
看截圖: