Connect to remote mongodb server via ssh tunnel locally

Hi There!
I’m trying to connect to a remote server database for debugging locally.
I tried the following

ssh -l user -L 27017:localhost:27017 myserver.com
export MONGO_URL=mongodb://localhost:27017/mydatabase
meteor

It seems to run perfectly, but when I try to access localhost:3000 on my browser it just doesn’t respond. After a while Chrome says ‘empty response’

Any ideas will be much appreciated. Thanks!

@luistensai did you find any solutions? I have the same issues.