
Done, you can save and use this connection while the tunnel is open. To close an SSH tunnel that is open in the background you can kill the background process with the command kill -9 connection string mongodb compass. The last step is to check the connection using the “Test” button.Ħ. Based on the tunnel output information, that is time to create a new connection from Platform.sh tunnel.ĥ. Open the SSH tunnel with the following command:Ĥ.

Stepsĭownload the project using the platform-cli Cloudflare Tunnel requires a lightweight daemon, cloudflared, running alongisde the deployment and as on the client side. Furthermore, you can check the production data using a GUI interface such as Robot 3T. Tutorials MongoDB SSH MongoDB SSH You can build Zero Trust rules to secure connections to MongoDB deployments using Cloudflare Access and Cloudflare Tunnel. 0 Reply Compose Preview Tips: You can mention users to notify them: username You can use Markdown to format your question. Also included in the post is a link to documentation from MongoDB on various Compass connection errors. The simplest way to run a project locally is to use a tethered development environment - that means running a local web server, but keeping all other services on Platform.sh and connecting to them over an SSH tunnel. The post includes a link to a guide that provides the steps on connecting MongoDB Compass using an SSH tunnel. A working project with MongoDB service, e.g spring-mvc-maven-mongodb.
#Mongodb compass windows ssh tunnel how to#
In this tutorial, we’ll explain how to connect the Platform.sh MongoDB using SSH tunnel with a MongoDB GUI such as Robo 3T Preparation
