batch bat file resolves MongoDB error:10061 because the target computer is actively rejecting, unable to connect

Source: Internet
Author: User

In the form of batch file, first solve this problem really is not I am good at, thanks to warm uncle help me. Because I found out that the DOS code is quite different from the batch file. Here is my solution to this problem when the harvest, of course, without the help of small warm. Here are some of the absolute and relative paths written in the batch file


First I try the following method, which is written in the batch file below and then the DOS environment to assign the 1% parameter


However, this method is used with caution and there may be a cycle of death.

After improvement, use



Then you can run it directly, and then find Mongo.exe.


batch bat file resolves MongoDB error:10061 because the target computer is actively rejecting, unable to connect

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.