December 29, 2013 Leave a comment
Google App Engine comes with a nice development server located in APP_ENGINE_HOME/bin/dev_appserver.sh
The syntax to run it is: dev_appserver.sh PATH_OF_YOUR_GAE_EXPLODED_WAR
If this is your case, then it’s probably because it only listens on your loopback address (127.0.0.1)
[laurent@localhost ~]$ netstat -an | grep 8080 tcp 0 0 ::ffff:127.0.0.1:8080 :::* LISTE
To fix that, launch your dev appserver with “-a 0.0.0.0” and you should be good to go: dev_appserver.sh -a 0.0.0.0 PATH_OF_YOUR_GAE_EXPLODED_WAR
[laurent@localhost ~]$ netstat -an | grep 8080 tcp 0 0 :::8080 :::* LISTEN
… and if it still doesn’t work, check your firewall settings: maybe the access to post 8080 is blocked.