[MongoDB] Error 10061 cannot connect because the target server is actively rejecting

Source: Internet
Author: User

Try MongoDB and you cannot access it after installation. Report 10061 Error: Went to the Internet to find the answer.

Online Solutions Click My

Did I try n times or wrong? My MongoDB is installed under the D:\Program files\ directory, the natural profile is also placed in the Program Files sub-directory .... I tried.

: Mongod--config D:\Program Files\mongodb\mongo.config has been unable to find the directory or file error.

So I put the mongo.config directly in the D-Disk directory ... D:\mongo.config then run the program ... It worked... I'd say it's a dog. Because the path program files contain spaces that are not recognized

[MongoDB] Error 10061 cannot connect because the target server is actively rejecting

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.