8080 port already taken issue when trying to redeploy project from Spring Tool Suite IDE

前端 未结 22 2614
梦毁少年i
梦毁少年i 2020-12-07 10:49

I have strange thing when I try to modify Spring project inside my Spring Tool Suite. On the first load (deploy) everything is fine, application compiles and runs on localho

22条回答
  •  再見小時候
    2020-12-07 11:16

    You can use list open file command and then kill the process like below.

    sudo lsof -t -i tcp:8181 | xargs kill -9
    

    or

    sudo lsof -i tcp:8181
    
    kill -9 PID
    

提交回复
热议问题