Flask: Difference between revisions

17 bytes added ,  5 years ago
No edit summary
 
Line 25:
http://127.0.0.1:5000/
 
== OpionsParameters ==
 
*All parameters are optional:
app.run(host, port, debug, options)
 
Explanation:
host: Hostname to listen on. Defaults to 127.0.0.1 (localhost). Set to ‘0.0.0.0’ to have server available externally
port: Defaults to 5000