diff -r 977e60f597de Lib/http/server.py --- a/Lib/http/server.py Thu Aug 20 11:13:38 2015 +1200 +++ b/Lib/http/server.py Thu Aug 20 16:59:07 2015 +0200 @@ -1176,7 +1176,8 @@ httpd = ServerClass(server_address, HandlerClass) sa = httpd.socket.getsockname() - print("Serving HTTP on", sa[0], "port", sa[1], "...") + print("Serving HTTP on %s port %s (http://%s:%s/) ..." + % (sa[0], sa[1], sa[0], sa[1])) try: httpd.serve_forever() except KeyboardInterrupt: