How to connect to your remote MongoDB server

preview_player
Показать описание
MongoDB Server, by default, allow only connections from localhost . This video shows how to configure the system to allow the connection from any host located in the local network.

Рекомендации по теме
Комментарии
Автор

many thanks Miquel.

Many people, like me, are wrong about the usefulness of "net.bindIp".
This is not the address of an IP client, but the IP address of the Mongo server, given the network interface on which it communicates with clients.

FrancisJamPaperjam
Автор

Thank you, so much, buddy.
After 1000 tutorials that hasn't worked, you were the one that saved my life.
THANK YOU!

guuhgo
Автор

Excellent Sir! I have spent more than a week to find that solution...

aliazeemkhanwardag
Автор

Very nice, I have spent more than 1 hour to find the reason why remote mongo is not getting connected. But now sorted.

nikhilpandey
Автор

You're the best I wish I would have found this sooner

piak
Автор

Thank you, still working at this time (August 2021)

vvHax
Автор

Thanks a million. It's super helpful.

thuanngh
Автор

Здоровья тебе автор, столько нервов мне сохранил) уффф, спаситель

adletazhibek
Автор

Great Video!! You fixed my issue.
(Pro Tip) set playback speed to 50% blink and you missed 10 commands

garth
Автор

Fucking Legend. Say no more. ya fixed all my problems.

josephlabs
Автор

Hi, how can you do the same but connect from a web app instead of connection in the same network?

ahsath
Автор

Doesn't work for pingable client IP in different subnet with a route to same said subnet: "Error setting up listener", "attr":{"error":{"code":9001, "codeName":"SocketException", "errmsg":"Cannot assign requested address"}}}

otoolepw
Автор

hello, sir i want to connect from win to win ? is it possible ? and if yes how can i do that ?!! (it is urgent so if anyone know or have a way please inform as soon as possible :'( ) thank u

maizinorelhouda
Автор

After entering ip address in bindIp I am unable to save and exit

abhinavsingh
Автор

This is the error I get when connecting from another machine:

Error: couldn't connect to server my_url:27017, connection attempt failed: NetworkTimeout: Error connecting to my_url:27017 :: caused by :: Socket operation timed out :
@(connect):2:6
exception: connect failed
exiting with code 1

filippoferrari
Автор

Hi, How do i connect from my windows machine to linux mongodb server.

melanielobo
visit shbcf.ru