(connect ECONNREFUSED 127.0.0.1:27017) MongoDB Compass is showing error while connecting

I have just downloaded the latest version of MongoDB compass (1.30.1) and tried to create a new connection by filling the connection fields individually and pressing connect but I am getting this error “connect ECONNREFUSED 127.0.0.1:27017” enter image description here