From af5cd8191ddf135dd68e684d9c9f8974b51b6dde Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Jan 27 2016 23:22:52 +0000 Subject: Use 127.0.0.1 instead of 0.0.0.0 in the README and runserver.py --- diff --git a/README.rst b/README.rst index 5aa925e..96a39c8 100644 --- a/README.rst +++ b/README.rst @@ -81,7 +81,7 @@ There are 2 ways to start the application: * with apache -* How to start without apache on http://0.0.0.0:5000 (useful for development): +* How to start without apache on http://127.0.0.1:5000 (useful for development): :: diff --git a/runserver.py b/runserver.py index 25c26c8..03becc0 100755 --- a/runserver.py +++ b/runserver.py @@ -43,4 +43,4 @@ if args.config: os.environ['FEDORA_ELECTIONS_CONFIG'] = config APP.debug = True -APP.run(host='0.0.0.0', port=int(args.port)) +APP.run(host='127.0.0.1', port=int(args.port))