ruby - Problems connecting to rails server -


i'm working @ getting basic ruby/rails environment , running, , presently unable connect it.

i'm working on macbook (updates current), , i've got ubuntu vm running i'm using test server.

i have port-forwarding set connecting vm (hypervisor = virtualbox)

  • 8083 80 (http)
  • 9307 3306 (mysql)
  • 2223 22 (ssh)
  • 3010 3000 (webrick)

vm port-forwarding setup screen

i have not setup firewall on server

using this, can ssh in, , can hit "non-rails" sites fine via apache. can't basic "hello-world" screen rails environment. can there if cut out vm , start webrick ("rails s") directly mac environment , go localhost's port 3000, when attempt same thing on vm , try hit port 3010 same way, "no data received" response.

webrick appears running fine

myserver$ rails s => booting webrick => rails 4.2.5.1 application starting in development on http://localhost:3000 => run `rails server -h` more startup options => ctrl-c shutdown server [2016-02-08 09:01:30] info  webrick 1.3.1 [2016-02-08 09:01:30] info  ruby 2.1.5 (2014-11-13) [x86_64-linux-gnu] [2016-02-08 09:01:30] info  webrick::httpserver#start: pid=3756 port=3000 

turning apache on/off not change beyond changing accessibility of content served apache.

i've tried monitoring "log/development.log" in rails application, , i've poked around see if noticed clues in of various log files under "/var/log", nothing's jumping out @ me.

i not doing fancy here. want "welcome aboard!" screen rails. thought getting started simple setting port-forwarding, creating rails-application, , hitting browser; it's been few hours , i'm getting this. apologies if has super easy solution i'm not seeing.


Comments

Popular posts from this blog

javascript - jQuery: Add class depending on URL in the best way -

caching - How to check if a url path exists in the service worker cache -

Redirect to a HTTPS version using .htaccess -