I have installed ruby on rails using the below tutorial http://ift.tt/1wFwCwc
.I completed all the steps mentioned as per the tutorial and I could even create a rails app and run it using rails server
.
When I used rails server
, it showed me
ubuntu@ip-192-30-0-97:~/myapp$ rails server
=> Booting WEBrick
=> Rails 4.2.0 application starting in development on http://localhost:3000
=> Run `rails server -h` for more startup options
=> Ctrl-C to shutdown server
[2015-02-01 09:45:51] INFO WEBrick 1.3.1
[2015-02-01 09:45:51] INFO ruby 2.1.5 (2014-11-13) [x86_64-linux]
[2015-02-01 09:45:51] INFO WEBrick::HTTPServer#start: pid=11899 port=3000
But when I navigate to my IP (Elastic IP pointing to my instance running Ubuntu 14.04),Im just getting a page "Website not available" .I could get this working on my local computer,when I navigated to the localhost IP the rails default page opened up,however here Im not able to get this working.
I am new to RoR and ubuntu,please help on this.
Aucun commentaire:
Enregistrer un commentaire