当我尝试在 Windows 64 位上运行 MongoDB 时,我收到此错误:
C:\>mongod
mongod --help for help and startup options
Tue Aug 14 19:26:12 [initandlisten] MongoDB starting : pid=2772 port=27017 dbpat
h=/data/db 64-bit host=wirelan-HM
Tue Aug 14 19:26:12 [initandlisten] db version v2.0.7, pdfile version 4.5
Tue Aug 14 19:26:12 [initandlisten] git version: 875033920e8869d284f32119413543f
a475227bf
Tue Aug 14 19:26:12 [initandlisten] build info: windows sys.getwindowsversion(ma
jor=6, minor=1, build=7601, platform=2, service_pack='Service Pack 1') BOOST_LIB
_VERSION=1_42
Tue Aug 14 19:26:12 [initandlisten] options: {}
Tue Aug 14 19:26:12 [initandlisten] journal dir=/data/db/journal
Tue Aug 14 19:26:12 [initandlisten] recover : no journal files present, no recov
ery needed
Tue Aug 14 19:26:13 [initandlisten] ERROR: listen(): bind() failed errno:10050 U
na operaci├│n socket encontr├│ una red inactiva. for socket: 0.0.0.0:27017
Tue Aug 14 19:26:13 [initandlisten] now exiting
Tue Aug 14 19:26:13 dbexit:
Tue Aug 14 19:26:13 [initandlisten] shutdown: going to close listening sockets..
.
Tue Aug 14 19:26:13 [initandlisten] shutdown: going to flush diaglog...
Tue Aug 14 19:26:13 [initandlisten] shutdown: going to close sockets...
Tue Aug 14 19:26:13 [initandlisten] shutdown: waiting for fs preallocator...
Tue Aug 14 19:26:13 [initandlisten] shutdown: lock for final commit...
Tue Aug 14 19:26:13 [initandlisten] shutdown: final commit...
Tue Aug 14 19:26:13 [initandlisten] shutdown: closing all files...
Tue Aug 14 19:26:13 [initandlisten] closeAllFiles() finished
Tue Aug 14 19:26:13 [initandlisten] journalCleanup...
Tue Aug 14 19:26:13 [initandlisten] removeJournalFiles
Tue Aug 14 19:26:13 [initandlisten] shutdown: removing fs lock...
Tue Aug 14 19:26:13 dbexit: really exiting now
第一个错误是文件夹/data/db
。我解决了那个。但是从 errno:10050 没有关于谷歌的信息......有人可以解决这个问题吗?