Skip to content

Instantly share code, notes, and snippets.

@Adivise
Last active June 21, 2022 13:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Adivise/698d17a403c58d134354df3dddbc9032 to your computer and use it in GitHub Desktop.
Save Adivise/698d17a403c58d134354df3dddbc9032 to your computer and use it in GitHub Desktop.

Simple: MongooseServerSelectionError: connect ECONNREFUSED 127.0.0.1:27017

see

How to fix?

  • Step 1 Go task bar and left click open Task Manager see
  • Step 2 Go to Services and look to buttom right click Open Services see
  • Step 3 Searching MongoDB Server (MongoDB) and double click open it see
  • Step 4 Click on Start is done! now go start your bot again. see

I do anything why not working?

  • 1. I think you need to reinstall MongoDB now
  • 2. Change you localhost:27017 to 127.0.0.1:27017
@dangquocluat
Copy link

image

@dangquocluat
Copy link

help me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment