Forums

Running on 'localhost'

Hi,

Sorry if this is posted elsewhere - I couldn't find an answer.

Is there a way to run on 'localhost', i.e. http://127.0.0.1:5000/ I realise it is on your servers but I'm guessing there is a way to do this so I can access it.

To be clear, I have a flask app in development that I would like to view changes on, so running ~ $ python app.py would normally allow me to go to localhost to view the app from my desktop.

Thanks in advance.

Nope. There's no way to do that on PythonAnywhere.

As a suggestion it would be good to have a test app included in the accounts, so your one app is live to the world and you have a test app that is only view-able to you, for testing etc

You can do that by putting a password on the app that you use for testing.