reactjs / react-tutorial

Code from the React tutorial.
http://facebook.github.io/react/docs/tutorial.html
Other
3.29k stars 2.13k forks source link

specify the host in server.py #141

Closed ghost closed 8 years ago

ghost commented 8 years ago

without the host as a parameter of app.run() function, the default host will be the 127.0.0.1 which is a loopback address only for local machine. External user will be unable to connect to the server.

zpao commented 8 years ago

I believe all of our servers are just running on 127.0.0.1 which is our expectation. Sharing a link with external users is outside the scope of this tutorial at this point.