Jason Meridth

I am a continuously learning senior full stack SDE/SRE trying to not let best be the enemy of better.

Get Sinatra and Shotgun gem working on Vagrant

06 Mar 2013 » » sinatra, vagrant

TL;DR

shotgun -o 0.0.0.0 config.ru

You have to tell shotgun to use 0.0.0.0, the “all IP addresses on this box” IP address listen on. The default is 127.0.0.1, which is the loopback IP address on the vagrant instance.

Hope this helps someone.