Use 127.0.0.1 if localhost fails for the tornado server