Connecting to db using Compass

I’m trying to connect to the mongo db through Mongo Compass but I keep getting the error message: MongoDB not running on the provided host and port, I’ve set Rocket chat up using the guide for docker-compose.

In Compass I’m using SSH to connect to the server and Hostname: 127.0.0.1 and Port: 27017.

Help would be very much appreciated. Thank you in advance!