M
M
Maxim Korolsky2016-07-05 18:57:02
MongoDB
Maxim Korolsky, 2016-07-05 18:57:02

mongo not starting with metro on windows?

I am getting an error

C:\Users\pavle\AppData\Local.meteor\packages\meteor-tool\1.3.4_1\mt-os.windows.x86_32\dev_bundle\server-lib\node_modules\fibers\future.js:280
Error: URL must be in the format mongodb://user:[email protected]:port/dvname

I don't understand why this is happening. Tried to expose
set MONGO_URL="mongodb://127.0.0.1:7777/mongo" && meteor --port 8031 --settings local-settings.json
set MONGO_URL="mongodb://root:[email protected]:7777/mongo" && meteor --port 8031 --settings local-settings.json

Tried in local-setting.json
"env":{
    "MONGO_URL": "mongodb://root:[email protected]:7777/zenmarket"
  }
  "env":{
    "MONGO_URL": "mongodb://@localhost:7777/zenmarket"
  }

mongod port 7777 is running. The paths to the database and to the logs are set. Mongo itself works flawlessly
Windows 10 64
Meteor v1.3.4.1
Mongo shell v3.2.7

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
Pavel, 2016-07-06
@SuperPosan

Try to remove the quotes, or replace them with single ..

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question