mongodb modify remote connection

Since we are running under windows directly to the D: \ Program Files \ MongoDB \ Server \ 4.2 \ bin

Find mongod.cfg

 

 Modify bindIp 0.0.0.0

 

or the shell cmd reset mongodb service

Get connected!

Guess you like

Origin www.cnblogs.com/paul010/p/12545210.html