Listen to localhost only by default, but make it configurable.