-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
how to connect by Mongodb Compass? #1
Comments
i can ping each other machine between my host computer and virtual machine , and i can visit nginx in my host computer by visit http://192.168.137.10:8080 |
Did you find a solution? |
It's been so long that I've forgotten if I solved this problem at the time ... |
I did not find a solution so I assigned 'A records' to the host machines, exposed the ports and created the replica set with A records (and public ports) instead mongo1,2,3 This is definitely not the best approach but it's working. Don't forget to add authentication, though, otherwise it's publicly available... |
i use the deploy yaml file to deploy mongo , here is my machines status created by vmware:
i deploy mongo master node on slave1, and 2 slave node on slave2 and slave3,the running status are as follows:
how can i connect mongo in my host computer ? i tried these connect string but not works:
Any reply is greatly appreciated
The text was updated successfully, but these errors were encountered: