Mongodb configuration with Meteor

Hi,

I’ve installed Meteor on Windows 10.

When I launch the test application with “meteor” command, the system display the folowings messages :
"=> Started proxy.
Unexpected mongo exit code 48. Restarting.
Unexpected mongo exit code 48. Restarting.
Unexpected mongo exit code 48. Restarting.
Can’t start Mongo server.
MongoDB exited because its port was closed, or was already
taken by a previous instance of MongoDB

Check for other processes listening on port 3001
or other Meteor instances running in the same project. "

A process is already running on 3001 port… My question is : how change this mongo port ?

Thank you for informations.

Best regards.

Pierre

I got this one too, a reboot solved it for me.

I tried it already and it doesn t change anything.

As far as I know the built-in dev mongo port is always “meteor root port + 1”, so since default dev port is 3000, mongodb port is 3001.

Change the meteor port and you’ll change the mongodb port

Ok thank’s and where is the conf file for meteor in the windows 10 version ?

You can specify the port to use with the --port parameter, for example meteor --port 7800

Ok thank you. It s ok now.