I am using rail for teambox at centos 6.3 server, actually this is just a trial and error before applying it live.
Rails 5.0.0.1 server not working without IPv6.
You need to enable IPv6 from /etc/sysctl.conf
file(IPv6 is enabled by default).
Remove or comment these lines if you have any.
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.lo.disable_ipv6 = 1
Reboot the server to enable IPv6. Try:
rails server