idea启动debug模式下启动tomcat,提示端口号被占用

错误如下:

Error running 'tomcat-corporation': Unable to open debugger port (127.0.0.1:52062): java.net.BindException "Address already in use: JVM_Bind"

解决:打开setting->tomcat servcer->选中报错的tomcat->startup/connection->选中debug

修改最下方的prot即可

Error running 'xxx': Unable to open debugger port (:52062): "Address already in use: JVM_Bind"

相关文章: