Create ssh tunnel and connect to the remote mongo. The tunnels are using the same key as i use to connect to the server via terminal without issue which leads me to believe it is mongo but i don't know where to look :/Īs the tunnel is established, then this says the server firewalls are not an issue. When you open MongoDB Compass, youll see a screen that looks like this: To connect to your local. Via a terminal i can connect to mongo no issue, also the node app there can too. I don't know if this is an issue with the SSH tunnel or the mongo setup. The SSH connection is working as confirmed by nosqlbooster4mongo and phpstormīut as soon as it then tries to connect to the local mongodb instance it fails. Nothing works but i cannot understand why. Timed out after 10000 ms while waiting to connect. To use SSH Tunnel While creating a holger schnell use of mongodb compass mean. 0.0) Ping: 10 sec, 289 ms (keep-alive query results in error) 2017 Open up MongoDB Compass and connect with your admin user. 1.13, JDBC4.2) Effective version: UNKNOWN Mongodb://localhost:27017/data-aggregator?retryWrites=true&w=majorityīut the connection url is 27017 and gets changed to 37903 for some reasonĭBMS: Mongo DB Case sensitivity: plain=mixed, delimited=mixed Driver: The Connection URL in all instances is the same (also tried removing the query params) and this url works on the node app: phpstorm inbuilt mongodb java connector.I have tried to connect to my mongodb on a server i own via an ssh tunnel via the following apps but nothing will connect:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |