Tuesday, November 25, 2008

Access Google App Engine Development Server Remotely


By default Google AppEngine's (GAE) development webserver doesn't accept remote requests. If you'd like to make your devel GAE application available remotely you can use a simple proxy to forward requests. I chose to use pen proxy because it is sooooo simple. To install pen on ubuntu do
sudo apt-get install pen
to do it on OSX with macports do
sudo port install pen
Once it is installed startup your GAE application. Then start up pen like this:
pen 8079 localhost:8080
Now pen will forward requests from port 8079 to your app running at 8080.

2 comments:

Dan said...

Did you try running the server with --address=0.0.0.0 ? That tells it to accept remote connections, no proxy needed.

Dom Derrien said...

Hi Josh,

Another of your blog entries referenced in one my post: Google App Engine: Free Hosting and Powerful SDK.

Thanks for sharing your knowledge.

A+, Dom