I have a Vagrant VM with Rails installed with a sample app. The VM is configured to forward the port 3000 (of Rails Webrick server) to my host 3000 port.
co
You can use an alias, on Ubuntu put it in ~/.bash_aliasesI use:alias rs="rails server -b 0.0.0.0"You have to reload the terminal before you can use it
~/.bash_aliases
alias rs="rails server -b 0.0.0.0"