python 2.7 - Can't connect to localhost:8080 when trying to run Google App Engine program -
i'm trying run google app engine python 2.7 hello world program , view in browser via google app engine launcher. followed install , program instructions letter. copied , pasted code in instructions helloworld.py file , app.yam1 , verified correct , in directory listed application directory. hit run on launcher , runs no errors, although no sign has completed (orange clock symbol next app name). following logs:
- running dev_appserver following flags: --skip_sdk_update_check=yes --port=8080 --admin_port=8000 python command: /opt/local/bin/python2.7
when try open in browser via gae launcher, 'browse' icon grayed out , browser won't open. tried opening localhost:8080 in firefox , chrome tutorial suggests, unable connect errors both.
how can view hello world in browser? there configuration need make on machine?
i had same problem. seemed fix it:
cd google_appengine, run
python dev_appserver.py --port=8080 --host=127.0.0.1 /path/to/application
at point there prompt allow updates on running, said yes.
at point app running should, when quit , went in using launcher again, worked too.
Comments
Post a Comment