I have two ember projects: project1, project 2
project1: ember s , port 4200 is working fine. I closed the project1 terminal and again tried to start ember s inside project2, when i do that, i am getting Port 4200 is already in use.
Port 4200 is already in use.
Why am i getting this error, as other instances where already killed and how to rectify it ?
Try the following,
sudo fuser -k 4200/tcp
It will kill all process belongs to port 4200.
None of the answers work on Mac so I'm posting this solution.
kill -9 $(lsof -i tcp:4200 -t)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With