Hey,
Until yesterday I was able to start MongoDB by using the following commands:
run /etc/init.d/mongodb start.
cuckoo run webserver
Today i tried to change the configuration and from Windows 7 use Windows XP.
After i made the changes am getting the following error:
CuckooCriticalError: Unable to connect to MongoDB: 127.0.0.1:27017: [Errno 111] Connection refused
Some parts of the configurations:
[mongodb]
enabled = yes
host = 127.0.0.1
port = 27017
db = cuckoo
store_memdump = yes
paginate = 100
username =
password =
[virtualbox]
mode = gui
path = /usr/bin/VBoxManage
interface = vboxnet0
machines = IE6 - WINXP
[IE6 - WINXP]
label = IE6 - WINXP
platform = windows
ip = 10.0.2.10
snapshot = XPsnap
If that's a very common issue am sorry in advance am new :)
that isnot related to vm, is just your mongo not started
if you type mongo can you get mongo shell?
I get the following error:
Failed to connect to 127.0.0.1:27017, in checking socket for error after poll, reason errno:111 connection refused
Couldn't connect to server 127.0.0.1:27017 connection attempt failed:
Connect@src/mongo/shell/mongo.js:229:14
@(connect) :1:6
exception failed
Hope that help!
So, if you had to guess, what would you think is the problem here?
At first i thought there is a service stopped but i tried to restart mongodb but nothing change.
If i had to guess i would say to change the default port at one of the bellow:
27017, 27018, 27019, 28017
Is it an option to use net.port or --port instead of 27017?
i tried to restart mongodb but nothing change.
you should investigate why mongo doesnt want to start on your system, thats all
Closing as resolved (MongoDB isn't running or so).
Most helpful comment
So, if you had to guess, what would you think is the problem here?