search

Home  >  Q&A  >  body text

mongodb - 指定的参数已超出有效值的范围

Error encountered
Unable to connect to server 127.0.0.1:-1: 指定的参数已超出有效值的范围。
参数名: port.
Type: MongoDB.Driver.MongoConnectionException
Stack: 在 MangoUI.ComServerView.RefreshDBs(MMongo mc, TimeSpan& data, TimeSpan& gui, Boolean throwEx)
在 MangoUI.ComServerView.RenderMe()
这里的端口号配置的是如下,按照道理来说应该没有什么问题:

每一次test,都是报出这样的错误。

怪我咯怪我咯2762 days ago764

reply all(2)I'll reply

  • 淡淡烟草味

    淡淡烟草味2017-04-27 09:04:14

    The problem is solved, because there is no username and password, there is no need to enter any username and password

    reply
    0
  • phpcn_u1582

    phpcn_u15822017-04-27 09:04:14

    Unable to connect to server 127.0.0.1:-1
    

    How can the port number be -1? Check your program/configuration file or something.

    reply
    0
  • Cancelreply