diff options
| author | ianb <devnull@localhost> | 2006-12-20 22:42:20 +0000 |
|---|---|---|
| committer | ianb <devnull@localhost> | 2006-12-20 22:42:20 +0000 |
| commit | f9fd547a556f8bea3611c0f0ed923c4f3ee1b0b9 (patch) | |
| tree | 4c70eaa55c970b31575ae582dc34589feaf57add /paste/httpserver.py | |
| parent | 0d3cadf36551fa0bd88ea4f615772cef6f1d19e0 (diff) | |
| download | paste-f9fd547a556f8bea3611c0f0ed923c4f3ee1b0b9.tar.gz | |
Don't confuse people with inaccurate message
Diffstat (limited to 'paste/httpserver.py')
| -rwxr-xr-x | paste/httpserver.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/paste/httpserver.py b/paste/httpserver.py index f60fd4d..9cc6bca 100755 --- a/paste/httpserver.py +++ b/paste/httpserver.py @@ -634,8 +634,9 @@ def serve(application, host=None, port=None, handler=None, ssl_pem=None, if converters.asbool(start_loop): host, port = server.server_address if host == '0.0.0.0': - host = '127.0.0.1' - print "serving on http://%s:%s" % (host, port) + print 'serving on 0.0.0.0:%s view at http://127.0.0.1:%s' % (port, port) + else: + print "serving on http://%s:%s" % (host, port) try: server.serve_forever() except KeyboardInterrupt: |
