Forums

port 8000 already in use

I am clueless, and throw myself at the mercy of the board. I have been trying for weeks to get a simple Django application deployed with no joy. When I try to runserver or gunicorn, I get the port 800 already in use message. Being clever I try other ports, and get it to run at 8002, however my index will not load (username.pythonanywhere.com). Thanks for any assistance

Holy crap I got it to work. Now I can die happy.

:-)

For anyone coming across this in the future -- on PythonAnywhere you configure your web app via the "Web" tab, there's no need to use runserver or gunicorn -- we do all that for you. More help here.

how did you get it to work?

What problems are you seeing? Have you created a web app from the "Web" tab?

Yup I installed Eden on web2py but overtime I run web2py it tells me port 8000 is in use. something about got to 127.0.0.1 and terminate the app.

If you're hosting a site on PythonAnywhere, you don't need to run web2py -- just go to the website and it should work. If you've made changes and want to reload it, just click the "Reload" button on the "Web" tab.