title: After installing rails, how to run rails server on amazon ec2 instance?
body: <p>I installed rails on an instance on amazon AMI. I installed all the dependencies for rails. I even copied the code through scp. When i ssh to the instance i ran </p>
  
  <pre><code>rails s
  </code></pre>
  
  <p>The server is running. How can I view it from the browser?
  from the Public DNS???</p>