Running Google's PHP App Engine on Cloud9
After I setup a new workspace in Cloud9 with a current App Engine project, I followed the Linux installation directions for the App Engine.
$PORT variables* set by Cloud9, I tried to run
the development server:
~/google-appengine/dev_appserver.py --host $IP --port $PORT workspace/
Unfortunatly I recevied this error message:
google.appengine.tools.devappserver2.wsgi_server.BindError: Unable to bind 0.0.0.0:8080
Using my google-fu I discovered
that you can receive that error if another program is using the port you are
trying to run the App Engine on. So I ran
sudo netstat -taupen | grep ":8080"
and found that
apache2 was using port
After I killed Apache with this command
sudo pkill apache2, I was able to
start the development server using the same command used above.
$PORT were set to