title: getting lynx: Can't access startfile error for rails
body: <p>I have a simple login system where I have used authentication using devise gem and i am deployed on the server and testing using <strong>lynx browser</strong> 
  I followed all the steps related to the devise.
  I have set my root page as devise login page so my route.rb is as follows</p>
  
  <pre><code>devise_for :users      
    devise_scope :user do
      root :to =&gt; "devise/sessions#new"
    end    
    resources :home,:only =&gt; [:index, :dashboard]
    resources :device_info,:only =&gt; [:address_list]     
    match ':controller(/:action(/:id))(.:format)'
  </code></pre>
  
  <p>my database is connected using RDS my database.yml file is as </p>
  
  <pre><code>development:
    adapter: mysql2
    encoding: utf8
    reconnect: true
    database: abc
    pool: 5
    username: root
    password: root
    port: 3306
    host: 127.0.0.1
  
  test:
    adapter: mysql2
    encoding: utf8
    reconnect: true
    database: abc
    pool: 5
    username: root
    password: root
    port: 3306
    host: 127.0.0.1
  
  production:
    adapter: mysql2
    encoding: utf8
    reconnect: true
    database: abc
    pool: 5
    username: root
    password: root
    port: 3306
    host: xxxxxxxxxx.xxx.amazonaws.com
  </code></pre>
  
  <p>when i start server and enter the address as <strong>lynx 0.0.0.0:3000</strong> it gives me error as</p>
  
  <pre><code>Looking up 0.0.0.0 first
  Looking up 0.0.0.0:3000
  Making HTTP connection to 0.0.0.0:3000
  Sending HTTP request.
  HTTP request sent; waiting for response.
  Alert!: Unexpected network read error; connection aborted.
  Can't Access `http://0.0.0.0:3000/'
  Alert!: Unable to access document.    
  lynx: Can't access startfile 
  </code></pre>
  
  <p>First i think this may be due to database not connecting to application but by using rails console i can access the database.I also checked my log file it will not showing any error. did I miss something.</p>
  
  <p>Here I am using rails 3.2.11 and ruby 1.8.7</p>
  
  <p>What should I do?</p>