I wanna connect to myapp.meteor.com using robomongo. to get the connection details I do this:
meteor mongo --url myapp.meteor.com
and I get my uri. Connecting to the running app works just fine. However, the username and password are only valid for a minute and after that i loose the connection (obviously), due to authentification failure.
it is for both. at least you can connect to the remote one on *.meteor.com using
meteor mongo myapp.meteor.com
see the help by running
thomas@Thomass-MacBook-Pro ~/> meteor help mongo
which gives
Usage: meteor mongo [--url] [site]
Opens a Mongo shell to view or manipulate collections.
If site is specified, this is the hosted Mongo database for the deployed Meteor site.
If no site is specified, this is the current project's local development database. In this case, the current working directory must be a Meteor project directory, and the Meteor application must already be running.
Instead of opening a shell, specifying --url (-U) will return a URL suitable for an external program to connect to the database. For remote databases on deployed applications, the URL is valid for one minute.
Options:
--url, -U return a Mongo database URL
Each Robomongo tab uses a different connection and sends a KeepAlive every minute.
Therefore, tabs that are opened within the first minute of the URL creation (while the credentials are valid) should be able to run additional queries.
The solution that I resort to is to open as many tabs as I think that I will require later on as soon as the connection is established and re-purpose them (write the desired query and execute it using Ctrl+Enter).
I put the url from meteor mongo --url app for the address and removed the port from the url. I have also tried putting my meteor account in the authentication tab.
I get “Cannot connect to MongoDB (mongo url) error: Unable to connect to MongoDB”. I do it within the minute. If I click test, it says it is unable to connect.