supervisor: Use 127.0.0.1 rather than localhost for tornado.

In theory these should be the same, but in misconfigured environments
(such at Travis CI) where /etc/hosts has multiple entries for
"localhost", 127.0.0.1 is safer than "localhost".
This commit is contained in:
Tim Abbott
2016-05-07 22:43:45 -07:00
parent 52e96915e2
commit c0d38f42f1
2 changed files with 2 additions and 2 deletions

View File

@@ -303,7 +303,7 @@ INSTALLED_APPS = [
# Base URL of the Tornado server
# We set it to None when running backend tests or populate_db.
# We override the port number when running frontend tests.
TORNADO_SERVER = 'http://localhost:9993'
TORNADO_SERVER = 'http://127.0.0.1:9993'
RUNNING_INSIDE_TORNADO = False
########################################################################