Restore previous IP binding
This commit 6fdf4e1086
have changed
the default binded ip, it binds one random interface on the system
instead of all. Break breaks all gate that expect the default to at
least listen on localhost.
This change restore the previous default.
Change-Id: I6323e66ea98d15c52b07c8e737fdd6f30aef0238
This commit is contained in:
parent
3c059cb701
commit
d43badb6c1
|
@ -293,7 +293,7 @@ if __name__ == "__main__":
|
|||
usage='%%(prog)s [-h] [--port PORT] [--host IP] -- [passed options]')
|
||||
parser.add_argument('--port', '-p', type=int, default=8000,
|
||||
help='TCP port to listen on')
|
||||
parser.add_argument('--host', '-b', default=my_ip,
|
||||
parser.add_argument('--host', '-b', default='',
|
||||
help='IP to bind the server to')
|
||||
parser.add_argument('args',
|
||||
nargs=argparse.REMAINDER,
|
||||
|
|
Loading…
Reference in New Issue