Hi,
Can anyone advise me on the best way to clear port 9001? I'm trying to run grunt server, and am receiving the following: Fatal error: Port 9001 is already in use by another process.
Thanks!
Bill
Hi,
Can anyone advise me on the best way to clear port 9001? I'm trying to run grunt server, and am receiving the following: Fatal error: Port 9001 is already in use by another process.
Thanks!
Bill
Which operating system?
Are there any other programs which use port 9001 that you know of?
Has this grunt command worked before?
Do you have any other terminals open with a server running in them?
Have you tried restarting your computer?
Hi Oliver, some answers below:
Which operating system? Windows 10
Are there any other programs which use port 9001 that you know of? No, I don't think so.
Has this grunt command worked before? Yes, no problems before.
Do you have any other terminals open with a server running in them? No.
Have you tried restarting your computer? Yes, several times, but no luck.
Thanks for your help.
You'll need to run `cmd` as administrator by typing `cmd` into the start menu and right clicking on it.
Then you can run `netstat -b` in the terminal to see all the open connections with ports included and the process the connection belongs to.
ctrl+c exits `netstat` which stays running and polls for new connections otherwise.
Once you figure out what the executable is called [node.exe] [mongod.exe] then we can figure out what is blocking.
It'll look something like this: