mongodb基礎系列——mongodb伺服器無法啟動

來源:互聯網
上載者:User

Unable to connect to server 127.0.0.1:27017: 由於目標機器積極拒絕,無法串連。 127.0.0.1:27017.Type: MongoDB.Driver.MongoConnectionExceptionStack:    at MongoDB.Driver.Internal.DirectConnector.Connect(TimeSpan timeout)   at MongoDB.Driver.MongoServer.Connect(TimeSpan timeout, ConnectWaitFor waitFor)   at MongoDB.Driver.MongoServer.Connect(TimeSpan timeout)   at MongoDB.Driver.MongoServer.Connect()   at MangoUI.MMongo.FQlxNlJKqO74gYmXgZR4(Object )   at MangoUI.MMongo.Open(Boolean useSamus)   at MangoUI.MMongo.Open()   at MangoUI.ComNavTree.wJQdUqApCpjoC39P59n(Object )   at MangoUI.ComNavTree.ExpandMe(MTreeNode expand)   at MangoUI.ComNavTree.tree_BeforeExpand(Object sender, TreeViewCancelEventArgs e)
首先:查詢是否已經開啟服務,在工作管理員中mongodb服務開啟,因為當初設定,是隨著window服務啟動而啟動。啟動了,但是依然不行。

相關文章

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.