I've got an app that interacts with facebook. That mean's I can't test things out on localhost:3000. To fix this, I changed the /private/etc/hosts file so it looks like this:
127.0.0.1 localhost
127.0.0.1 dev.example.com
This worked fine on my old computer, but not on my new one. Now, in order to get things working properly, I have to append the port number when I'm looking at the app in the browser.
dev.example.com:3000
I'm guessing this is an issue with the newer OS (mountain lion), but I'm not sure.
Is there anyway to configure my hosts file so that I don't need to append the port number when I'm in the browser?