0

因为要做远程连接,所以绑定了IP并新建了用户,但是无法开启服务,取消绑定后又能开启,请问是什么原因

以下是log

2015-07-07T17:35:07.030+0800 I CONTROL ***** SERVER RESTARTED *****
2015-07-07T17:35:07.043+0800 I CONTROL Trying to start Windows service ‘MongoDB’
2015-07-07T17:35:07.044+0800 I STORAGE Service running
2015-07-07T17:35:07.046+0800 E NETWORK [initandlisten] listen(): bind() failed errno:10049 在其上下文中,该请求的地址无效。 for socket: 117.27.138.130:6517
2015-07-07T17:35:07.066+0800 I JOURNAL [initandlisten] journal dir=D:\MongoDB\data\journal
2015-07-07T17:35:07.067+0800 I JOURNAL [initandlisten] recover : no journal files present, no recovery needed
2015-07-07T17:35:07.104+0800 I JOURNAL [durability] Durability thread started
2015-07-07T17:35:07.104+0800 I JOURNAL [journal writer] Journal writer thread started
2015-07-07T17:35:07.107+0800 I CONTROL [initandlisten] MongoDB starting : pid=5864 port=6517 dbpath=D:\MongoDB\data 64-bit host=FZDCIT
2015-07-07T17:35:07.107+0800 I CONTROL [initandlisten] targetMinOS: Windows 7/Windows Server 2008 R2
2015-07-07T17:35:07.107+0800 I CONTROL [initandlisten] db version v3.0.4
2015-07-07T17:35:07.107+0800 I CONTROL [initandlisten] git version: 0481c958daeb2969800511e7475dc66986fa9ed5
2015-07-07T17:35:07.107+0800 I CONTROL [initandlisten] OpenSSL version: OpenSSL 1.0.1m-fips 19 Mar 2015
2015-07-07T17:35:07.107+0800 I CONTROL [initandlisten] build info: windows sys.getwindowsversion(major=6, minor=1, build=7601, platform=2, service_pack=’Service Pack 1′) BOOST_LIB_VERSION=1_49
2015-07-07T17:35:07.107+0800 I CONTROL [initandlisten] allocator: tcmalloc
2015-07-07T17:35:07.107+0800 I CONTROL [initandlisten] options: { config: “D:\MongoDB\mongod.cfg”, net: { bindIp: “117.27.138.130”, port: 6517 }, security: { authorization: “enabled” }, service: true, storage: { dbPath: “D:\MongoDB\data” }, systemLog: { destination: “file”, logAppend: true, path: “d:\mongodb\log\mongod.log” } }
2015-07-07T17:35:07.120+0800 I CONTROL [serviceStopWorker] now exiting
2015-07-07T17:35:07.120+0800 I NETWORK [serviceStopWorker] shutdown: going to close listening sockets…
2015-07-07T17:35:07.120+0800 I NETWORK [serviceStopWorker] shutdown: going to flush diaglog…
2015-07-07T17:35:07.120+0800 I NETWORK [serviceStopWorker] shutdown: going to close sockets…
2015-07-07T17:35:07.120+0800 I STORAGE [serviceStopWorker] shutdown: waiting for fs preallocator…
2015-07-07T17:35:07.120+0800 I STORAGE [serviceStopWorker] shutdown: final commit…
2015-07-07T17:35:07.126+0800 I JOURNAL [serviceStopWorker] journalCleanup…
2015-07-07T17:35:07.126+0800 I JOURNAL [serviceStopWorker] removeJournalFiles
2015-07-07T17:35:07.127+0800 I JOURNAL [serviceStopWorker] Terminating durability thread …
2015-07-07T17:35:07.225+0800 I JOURNAL [journal writer] Journal writer thread stopped
2015-07-07T17:35:07.226+0800 I JOURNAL [durability] Durability thread stopped
2015-07-07T17:35:07.226+0800 I STORAGE [serviceStopWorker] shutdown: closing all files…
2015-07-07T17:35:07.228+0800 I STORAGE [serviceStopWorker] closeAllFiles() finished
2015-07-07T17:35:07.228+0800 I STORAGE [serviceStopWorker] shutdown: removing fs lock…
2015-07-07T17:35:07.229+0800 I CONTROL [serviceStopWorker] dbexit: rc: 49

大家提这种问题请最少要贴上log文件吧?