windows - how to bind a specific ip to a mongodb service? -


i want send request mongodb in remote server machine. following line in configuration, , not allowed remove it:

bindip:127.0.0.1 

i want bind ip 45.56.65.100 mongodb service on windows.

can include 45.56.65.100 in ip solve problem?

you can bind 1 ip shown above "bindip:127.0.0.1"
ips machine using: "bindip:0.0.0.0"
or multiple ips notated here:

https://stackoverflow.com/a/36450320/2585788

bindip: 172.31.60.184,127.0.0.1
remember not put space after comma.
answered apr 6 @ 11:50 puneet goyal

please make sure up-vote original related answer.


Comments

Popular posts from this blog

mysql - Dreamhost PyCharm Django Python 3 Launching a Site -

java - Sending SMS with SMSLib and Web Services -

java - How to resolve The method toString() in the type Object is not applicable for the arguments (InputStream) -