I\'d like to bind the rails server to 127.0.0.1, instead of 0.0.0.0 so its not accessible when I\'m working from coffee shops.
Is there a configuration file where I can
You can make a bash script to just run the command by default:
#!/bin/bash rails server -b 127.0.0.1
Put it in the same folder as your project, name it anything you want (e.g. devserv), then
devserv
chmod +x devserv
And all you have to do is ./devserv
./devserv