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

前端 未结 22 2655
梦毁少年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 10:55

    On Linux Machine, save the bash script and execute it. If you want to free port 8080, Input 8080 when prompted

    echo "Enter port number to be closed :: "
    read port
    sudo kill $(sudo lsof -t -i:$port)
    

提交回复
热议问题