Kunal Gupta
Kunal's { Blog }

Kunal's { Blog }

Stop(Kill) Localhost Server Using Terminal in macbook

Stop(Kill) Localhost Server Using Terminal in macbook

Stop localhost , if it is show stopped in your id but still its running.

Kunal Gupta's photo
Kunal Gupta
·Mar 1, 2022·

1 min read

  1. Check your terminal should be .zsh

  2. After that type lsof -n -i4TCP:8080 (Where you number like 8080 is your port number).

3.Then type kill -9 23415 (Please make sure in spacing between commands )

 
Share this