maybe the the linux vm has a firewall on port 8000........ by default security groups aren't configured for port 8000. if you're using the "vanilla" amazon ec2 instance, see the related documents on http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-network-security.html#adding-security-group-rule
BTW: with or without the explicit -p 8000 it will only listen to port 8000, so don't even try to reach it from http://xxx.xxx.xxxx/: you need to use ALWAYS http://xxx.xxx.xxxxxxx:8000/ . btw2: if you're not skilled in system administration and you don't want to learn there are far better environments to deploy web2py which will take care of the administrative side of things. If instead you want to learn something on the process, see the bazillions guides around the internet ^_^ On Sunday, January 4, 2015 10:11:01 PM UTC+1, NeoToren wrote: > > Must be something really simple (and stupid on my behalf) that I am doing > or not doing correctly... > > While in the web2py folder on the AWS instance, I've run web2py by trying > both specifying the port and without it: > 1. python web2py.py -i 0.0.0.0 -a mypwd > 2. python web2py.py -i 0.0.0.0 -a mypwd -p 8000 > > In both cases it replies with the usual: > *web2py Web Framework* > *Created by Massimo Di Pierro, Copyright 2007-2015* > *Version 2.9.11-stable+timestamp.2014.09.15.23.35.11* > *Database drivers available: SQLite(sqlite3), MySQL(pymysql), > PostgreSQL(pg8000), IMAP(imaplib)* > *please visit:* > * http://127.0.0.1:8000/ <http://127.0.0.1:8000/>* > *use "kill -SIGTERM 27150" to shutdown the web2py server* > > Which I take as "the web2py server is up and running" > > Tried to access web2py server at: > 1. ec2-xx-xx-xx-xx.compute-1.amazonaws.com <javascript:> > (where the xx are the numbers in the Public DNS as they appear on my > instance on EC2 page) > > 2. ec2-xx-xx-xx-xx.compute-1.amazonaws.com <javascript:>:8000 > > 3. xx.xx.xx.xx/ and with the port specified xx.xx.xx.xx:8000/ > the actual IP address numbers... > > 4. https://ec2-xx-xx-xx-xx.compute-1.amazonaws.com > <javascript:>/admin/default/index > with or without port... > > Just doesn't work. > Eventually the browser says it takes too long to load page so page doesn't > exist or cannot be accessed. > > > > > > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.