I'm using a thin web server for my production ruby-on-rails app. I have a lighttpd frot-end for a 3 servers cluster.
Everything is ok, but all three servers are accessible from the outside world.
lighttp: port 80
thin1: port 3300
thin1: port 3301
thin1: port 3302
How could I limit the access to my thin servers from the outside world, permitting only access from the same ubuntu box (localhost- 127.0.0.1) ?
In my configuration file for thin server the address field its set to 0.0.0.0. I'd tested with 127.0.0.1 but doesn't work.
netstat -an|grep 3300
show before and after changing it to 127.0.0.7. Is the 'thin' web server a product anyone might have heard of or is it really called thin?