Skip to content

Instantly share code, notes, and snippets.

View yakatyansh's full-sized avatar
🙌
Hi there..

Yash Katyan yakatyansh

🙌
Hi there..
View GitHub Profile
@ckdanny
ckdanny / notes.md
Last active September 2, 2023 09:34
Find (and kill) process locking port 3000 on Mac

Solution

Use netstat to check if port 3000 is used

$ netstat -vanp tcp | grep 3000

For macOS El Capitan and newer (or if your netstat doesn’t support -p), use lsof to check what processes are using particular port