You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If no explicit bind_ip has been provided, print a startup warning indicating that the server is not responding to external connections, which describes how to fix the problem.
2017-05-18T21:07:13.857+0000 I CONTROL [initandlisten] ** ATTENTION: The server is bound to localhost.2017-05-18T21:07:13.857+0000 I CONTROL [initandlisten] ** Remote systems will be unable to connect to this server. 2017-05-18T21:07:13.857+0000 I CONTROL [initandlisten] ** Start the server with --bind_ip <address> to specify which IP addresses it2017-05-18T21:07:13.857+0000 I CONTROL [initandlisten] ** should serve responses from, or with --bind_ip_all to bind to all interfaces.
Yeah, I guess the best we can do there is to update our docs once 3.6 officially drops to explicitly include --bind_ip_all in the couple places we add flags?
IMO it'll be easier for us to handle users doing that if we decide to push this logic into the docker-entrypoint.sh, since we'll have to handle that case regardless (given that users tend to do things we don't expect 😄).
Activity
tianon commentedon May 15, 2017
It might be that we simply add
--bind_ip_alltoCMD, and leave this choice up to our users to make?yosifkit commentedon May 18, 2017
CMDseems fine, but gets annoying if I just want to add a flag:Though it should be in the logs:
tianon commentedon May 22, 2017
Yeah, I guess the best we can do there is to update our docs once 3.6 officially drops to explicitly include
--bind_ip_allin the couple places we add flags?IMO it'll be easier for us to handle users doing that if we decide to push this logic into the
docker-entrypoint.sh, since we'll have to handle that case regardless (given that users tend to do things we don't expect 😄).