Using Web2Py framework on C9


Is it possible to use the Web2py framework on c9 and if so how? Thanks in advance for any help.


You can run almost anything you can on a Linux distribution on c9. Just follow the normal linux instructions:

Just make sure you use a publicly available port for it (8080, 8081 or 8082). Then your application preview will be able to show web2py. I haven’t used it myself, but according to the documentation here: you can just use -p $PORT and it will use the default preview port on C9.*


Yes, that’s what I discovered. I wound up using the command line to set the port and password like this:

python -a ‘’ -i -p 8080

Thanks for your response