Access web2py app running on a remote server's localhost

147 views
Skip to first unread message

Curiouslearn

unread,
Jul 30, 2013, 6:11:14 PM7/30/13
to web...@googlegroups.com
Hello,

I have a droplet on digitalocean running Ubuntu precise. I installed web2py using the source and then I started the server using python web2py.py command. The message says "please visit: http://127.0.0.1:8000. Is there a way I can access from my local computer. 

Thank you.

Massimo Di Pierro

unread,
Jul 31, 2013, 4:00:18 AM7/31/13
to web...@googlegroups.com
Start it with -i 0.0.0.0 -p 80 and you will be able to access remotely at http://<ip>/

Tim Richardson

unread,
Jul 31, 2013, 7:01:25 AM7/31/13
to web...@googlegroups.com
I've done this too. I recommend doing an ubuntu server installation, then read the book's deployment recipe section for ubuntu server. There's a script which sets up everything including ssl which you will need to access web2py admin.
Reply all
Reply to author
Forward
0 new messages