To stop the server, hit control-C.
+.. admonition:: Externally Visible Server
+ If you run the server you will notice that the server is only available
+ from your own computer, not from any other in the network. This is the
+ default because in debugging mode a user of the application can execute
+ arbitrary Python code on your computer. If you have `debug` disabled
+ or trust the users on your network, you can make the server publicly
+ Just change the call of the :meth:`~flask.Flask.run` method to look
+ This tells your operating system to listen on a public IP.
page not found error because we don't have any views yet. But we will
focus on that a little later. First we should get the database working.
- If you notice later that the browser cannot connect to the server
- during development, you might want to try this line instead::
- In a nutshell: Werkzeug starts up as IPv6 on many operating systems by
- default and not every browser is happy with that. This forces IPv4
+ Want your server to be publically available? Check out the
+ :ref:`externally visible server <public-server>` section for more