[SERVER-25479] Error: 10061 starting mongo in command windows.MongoDB 3.2.8 Enterpeise on windows to test in-Memory Database. Created: 08/Aug/16  Updated: 08/Aug/16  Resolved: 08/Aug/16

Status: Closed
Project: Core Server
Component/s: Admin
Affects Version/s: None
Fix Version/s: None

Type: Question Priority: Major - P3
Reporter: Suzette Cohen Assignee: Unassigned
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Participants:

 Comments   
Comment by Ramon Fernandez Marina [ 08/Aug/16 ]

sco, it seems you started your server on port 27018 but trying to connect to port 27017 instead. Please verify your port numbers.

Also, please note that the SERVER project is for reporting bugs or feature suggestions for the MongoDB server. For MongoDB-related support discussion please post on the mongodb-user group or Stack Overflow with the mongodb tag, where your question will reach a larger audience. A question like this involving more discussion would be best posted on the mongodb-user group. See also our Technical Support page for additional support resources.

Regards,
Ramón.

Comment by Suzette Cohen [ 08/Aug/16 ]

net start MongoDB is successful. In the log file I noticed the following:
...I STORAGE [initandlisten] wiredtiger_open
instead of inMemory.

Comment by Suzette Cohen [ 08/Aug/16 ]

I defined dbfilepath and logpath as recommended in your guides on: C:\data\mem and C:\log\mem.
Installed: MongoDB 3.2.8 Enterprise edition on 64 bit PC with Windows 7 Enterprise installed on it.
Started MongoDB service with config file using:
port = 27018
dbpath = C:\MongoDB\MongoDB_3.2.8\data\mem
logpath= C:\MongoDB\MongoDB_3.2.8\log\mem
pidfilepath=C:\MongoDB\MongoDB_3.2.8\data\mem
\memdb.pid
logappend = true
rest = false
The service was created successfully.
But when trying to run: mongod in administrator command window got :
trying to connect to: test
NETWORK [thread1] failed to connect to: 127.0.0.1:27017, reason: error: 10061 no connection could be made because the
target machine actively refused it.
.... connection attemp failed: connect@src/mongo/shell/mongo.js:229:14

Generated at Thu Feb 08 04:09:18 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.