It was fine 2 days ago, Now mongod
does not work. Even echo ps -A | grep mongo
printed nothing, yet it warns about error: \"Only one usage of each sock
In the command prompt type the following command
netstat -a -n -o | find "27017"
This will list all processes which are using port "27017" along with the PID.
Locate the PID using "27017". For example if the PID is 10580, to kill it
taskkill /f /pid 10580
Now start mongo. Hope this helps.
Administrator
modenet stop MongoDB
try to start mongo on a different port: http://docs.mongodb.org/manual/reference/mongod/#cmdoption-mongod--port
to be sure what port you can use, execute the command Sriukanth Venugopalan mentioned, it will list the current ports being used.
Regards, Moacy