springboot啟動(dòng)的時(shí)候發(fā)現(xiàn)端口被占用了

image.png
解決方案:
1、打開終端:輸入
lsof -i:8088

image.png
2、復(fù)制上圖的pid,在輸入
kill 36002
在重新啟動(dòng)springboot服務(wù)
springboot啟動(dòng)的時(shí)候發(fā)現(xiàn)端口被占用了
解決方案:
lsof -i:8088
kill 36002
在重新啟動(dòng)springboot服務(wù)