套接字recv()远程主机强制关闭现有连接。 127.0.0.1:27017

时间:2017-03-02 16:47:20

标签: mongodb

MongoDB shell版本v3.4.2

连接到:mongodb://127.0.0.1:27017

2017-03-02T22:11:37.561 + 0530 I NETWORK [thread1] Socket recv()远程主机强行关闭现有连接。 127.0.0.1:27017

2017-03-02T22:11:37.562 + 0530 E QUERY [thread1]错误:127.0.0.1:27017的套接字异常[RECV_ERROR]: connect@src/mongo/shell/mongo.js:237:13 @(连接):1:6 异常:连接失败

我正在尝试运行mongo命令,我收到了这个错误。

mongod的日志

2017-03-25T14:29:16.898 + 0530 I CONTROL [initandlisten]启动MongoDB:pid = 5272 port = 27017 dbpath = C:\ data \ db \ 64-bit host = Vishal

2017-03-25T14:29:16.899 + 0530 I CONTROL [initandlisten] targetMinOS:Windows 7 / Windows Server 2008 R2

2017-03-25T14:29:16.900 + 0530 I CONTROL [initandlisten] db version v3.4.2

2017-03-25T14:29:16.901 + 0530 I CONTROL [initandlisten] git版本:3f76e40c105fc223b3e5aac3e20dcd026b83b38b

2017-03-25T14:29:16.901 + 0530 I CONTROL [initandlisten] OpenSSL版本:OpenSSL 1.0.1u-fips 2016年9月22日

2017-03-25T14:29:16.901 + 0530 I CONTROL [initandlisten] allocator:tcmalloc

2017-03-25T14:29:16.901 + 0530 I CONTROL [initandlisten] modules:none

2017-03-25T14:29:16.901 + 0530 I CONTROL [initandlisten]构建环境:

2017-03-25T14:29:16.902 + 0530 I CONTROL [initandlisten] distmod:2008plus-ssl

2017-03-25T14:29:16.902 + 0530 I CONTROL [initandlisten] distarch:x86_64

2017-03-25T14:29:16.902 + 0530 I CONTROL [initandlisten] target_arch:x86_64

2017-03-25T14:29:16.902 + 0530 I CONTROL [initandlisten]选项:{}

2017-03-25T14:29:16.907 + 0530 I - [initandlisten]检测到由' wiredTiger'创建的C:\ data \ db \中的数据文件存储引擎,因此将活动存储引擎设置为' wiredTiger'。

2017-03-25T14:29:16.908 + 0530 I STORAGE [initandlisten] wiredtiger_open config:create,cache_size = 1479M,session_max = 20000,eviction =(threads_max = 4),config_base = false,statistics =(fast),日志=(启用=真,归档=真,路径=轴颈,压缩机=活泼的),file_manager =(close_idle_time = 100000),检查点=(等待= 60,LOG_SIZE = 2GB),statistics_log =(等待= 0),

2017-03-25T14:29:18.531 + 0530 I CONTROL [initandlisten]

2017-03-25T14:29:18.531 + 0530 I CONTROL [initandlisten] **警告:未对数据库启用访问控制。

2017-03-25T14:29:18.531 + 0530 I CONTROL [initandlisten] **对数据的读写访问权限和配置不受限制。

2017-03-25T14:29:18.531 + 0530 I CONTROL [initandlisten]

2017-03-25T14:29:19.255 + 0530 I FTDC [initandlisten]使用目录' C:/data/db/diagnostic.data'

初始化全时诊断数据捕获

2017-03-25T14:29:19.257 + 0530 I NETWORK [thread1]等待端口27017上的连接

0 个答案:

没有答案