1. 程式人生 > >idea 啟動tomcat報錯unable to open debugger port (127.0.0.1:48681) socket closed

idea 啟動tomcat報錯unable to open debugger port (127.0.0.1:48681) socket closed

今天早上使用idea啟動tomcat時,無論是run模式還是debug模式啟動都報錯埠已被佔用,查詢埠列表也沒有找到有程序佔用該埠,嘗試更改debug埠號也不行。最終發現,根本原因在於JVX port設定的過小。

如果您遇到這個問題,試著調大該埠,比如1091嘗試更新為2091,問題解決。原理尚未清楚,後續更新!