I launched the bitnami Ruby Stack on AWS, and I am able to see the Bitnami main page when I enter the public IP as the URL in my browser. When I run rubyconsole, and try to open the rails server, it looks to be working:
$ opt/bitnami/projects/sample/bin/rails server
=> Booting WEBrick
=> Rails 4.2.2 application starting in development on http://localhost:3000
rails server -h for more startup options
=> Ctrl-C to shutdown server
[2015-08-05 21:03:06] INFO WEBrick 1.3.1
[2015-08-05 21:03:06] INFO ruby 2.1.6 (2015-04-13) [x86_64-linux]
[2015-08-05 21:03:06] INFO WEBrick::HTTPServer#start: pid=2166 port=3000
When I go to port 3000:
PublicIP:3000 (it's actually http://188.8.131.52:3000/)
then I should be able to see the Rails homepage, but instead it displays: Err_Connection_Refused.
I have enabled security permissions for all incoming/outgoing traffic in my AWS security settings, as well as my local firewall settings.