Running GoogleAppEngineLauncher on Port 80, Easily

So, you want to run the GoogleAppEngineLauncher on port 80 so you can—I don’t no—use your hosts file to record a screencast without having to hack in the proper URL somehow, even though the features you want to show off aren’t live yet? Also you’re using OS X.

Well everyone will tell you that port 80 is protected or requires root access, but what I haven’t seen anyone else say is that you can get around this pretty quickly.

First add your URL to the etc/hosts file, and direct it at your local IP (127.0.0.1).

Then, in terminal make a folder for the new prefs to live in (so you don’t have to keep creating the project over and over):

$ sudo mkdir -p /var/root/Library/Application\ Support/GoogleAppEngineLauncher $ sudo chmod 775 /var/root/Library/Application\ Support/GoogleAppEngineLauncher

Finally just launch the GoogleAppEngineLauncher from terminal as a sudoer:

$ sudo /Applications/GoogleAppEngineLauncher.app/Contents/MacOS/GoogleAppEngineLauncher

Add your project (don’t forget to set the port to 80), launch it and you should be ready to go.

Posted via email from Bent Paperclips