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-gr
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 -
ok. this is documented in the book, but to sum it up, when you start
web2py.py without the -i parameter by default it binds only to localhost
(meaning it's accessible only from the same host it's running, in your
case, the EC2 instance). if you want to reach it to
http://theipaddress_ofec2insta
My apologies Niphlod,
1. I didn't mention that the result of the command ... python web2py.py -a
mypwd ... is actually :
*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),
AWS EC2 is nothing more of a linux server . to start executables listening
on port 80 superuser permissions are needed, only "high ports" are allowed
at "normal user" powers (that's why on production one usually deploys
web2py BEHIND a real webserver).
Enough of that said, starting with
python
5 matches
Mail list logo