Background:
- Using vagrant virtual box running Ubuntu on a macbook
- Having installed the mongoid gem in a new rails application
- I am given
localhost:27017
as the port that the mongodb server is running on.
From the command line, I am able to start/stop the mongodb server and interact with the default database through the mongo console.
Problem: I am not able to connect to localhost:27017
from the browser as suggested by various tutorials to confirm that mongodb is running correctly.
Question: What are some commands, debugging protocols, or log files that I can use to locate the cause of my problem? (i.e. why I can use the mongodb service via command line but can not connect in browser).
And: Based on the background information, if there is a common installation and set-up step that I might have missed, what could that be?