Troubleshooting
First, check if you can connect typing mongo
on the CLI. The output implies there is something already running on 27017. ( You’re probably initiating the server twice. )
If it does not work, do this:
- Go to
/tmp/
- Remove
mongodb-27017.sock
- Restart the service