Connect ECONNREFUSED 127.0.0.1:27017?

when try connect with mongo db compass retrive this error !!
connect ECONNREFUSED 127.0.0.1:27017

why that ??

The default connection string is set to connect to localhost. If you don’t have MongoDB Server running on the same host then you would receive this message.

Start a free cluster on MongoDB atlas to get started quickly.