Hacker News new | past | comments | ask | show | jobs | submit login

> By default, Sinatra will now only serve localhost in development mode. You should not be running your production system in development mode.

This "opinionated default" makes it very hard to test when you're running your development environment from a virtual machine, like Vagrant.

More and more people are doing this (gotta use those extra cores + memory for something, right?), so please consider us before adding a "listen 127.0.0.1". :)




Simply run with -o 0.0.0.0, I think the number of people running without firewall or having an annoying firewall warning every time they start a Sinatra process is larger than the number of people developing on a VM. Also note that this has no effect if you use some different way to run your Sinatra app, like rackup.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: