I keep on getting "? Something is already running on port 3000" message in my terminal when I start up my react server when there is absolutely nothing running on my port 3000
What I have tried to solve with:
- Restart the macOS.
- checking my "http://localhost:3000" on chrome browser. (Nothing: This site can’t be reached)
- Go to chrome://serviceworker-internals and chrome://appcache-internals, search for localhost:3000 (Nothing found)
- I also tried almost every command lines I found on Google regarding this issue
- I also created another express.js app, and it was successfully launch on port 3000 while React said there is something running on 3000. React on my computer just keeping thinking there is something running on port 3000.
netstat -anp tcp | grep 3000
if you have a result for it then yo have some process running in that portctrl+z
to terminate the react app. This occures for me when I terminate the app from terminal usingctrl+z
. This doesn't terminate the process due to some reason. Instead if I terminate usingctrl+c
orctrl+shift+c
all the processes of react are properly stopped and thus I don't get the error. To kill the process for first time I usedkill -9 pid