Mongo waiting on 27017 even after reinstall
I have uninstalled and reinstalled mongo (3.0.1), being sure I accepted the network access on windows 8, and yet I still have the same issue of "waiting on 27017".
The commands I sent are the following:
PS C:Program FilesMongoDBServer3.0bin> .mongod.exe --dbpath C:mongodbdata 2015-04-01T21:33:46.787-0400 I JOURNAL [initandlisten] journal dir=C:mongodbdatajournal 2015-04-01T21:33:46.790-0400 I JOURNAL [initandlisten] recover : no journal files present, no recovery needed 2015-04-01T21:33:46.972-0400 I JOURNAL [durability] Durability thread started 2015-04-01T21:33:46.973-0400 I JOURNAL [journal writer] Journal writer thread started 2015-04-01T21:33:47.134-0400 I CONTROL [initandlisten] MongoDB starting : pid=7436 port=27017 dbpath=C:mongodbdata 64 -bit host=CookieMunster 2015-04-01T21:33:47.135-0400 I CONTROL [initandlisten] targetMinOS: Windows 7/Windows Server 2008 R2 2015-04-01T21:33:47.135-0400 I CONTROL [initandlisten] db version v3.0.1 2015-04-01T21:33:47.136-0400 I CONTROL [initandlisten] git version: 534b5a3f9d10f00cd27737fbcd951032248b5952 2015-04-01T21:33:47.137-0400 I CONTROL [initandlisten] OpenSSL version: OpenSSL 1.0.1j-fips 15 Oct 2014 2015-04-01T21:33:47.137-0400 I CONTROL [initandlisten] build info: windows sys.getwindowsversion(major=6, minor=1, buil d=7601, platform=2, service_pack='Service Pack 1') BOOST_LIB_VERSION=1_49 2015-04-01T21:33:47.139-0400 I CONTROL [initandlisten] allocator: system 2015-04-01T21:33:47.141-0400 I CONTROL [initandlisten] options: { storage: { dbPath: "C:mongodbdata" } } 2015-04-01T21:33:47.148-0400 I INDEX [initandlisten] allocating new ns file C:mongodbdatalocal.ns, filling with ze roes... 2015-04-01T21:33:47.587-0400 I STORAGE [FileAllocator] allocating new datafile C:mongodbdatalocal.0, filling with ze roes... 2015-04-01T21:33:47.589-0400 I STORAGE [FileAllocator] creating directory C:mongodbdata_tmp 2015-04-01T21:33:47.721-0400 I STORAGE [FileAllocator] done allocating datafile C:mongodbdatalocal.0, size: 64MB, t ook 0.007 secs 2015-04-01T21:33:47.747-0400 I NETWORK [initandlisten] waiting for connections on port 27017
This is pending and will continue to do so endlessly. Don’t know what to do when MongoDB waiting for connections on port 27017 ?
The waiting for connections message in the console output indicates that the mongod.exe process is running successfully.
Next, you need to connect to MongoDB through mongo.exe shell using another command prompt.
As soon as you are done with that, the waiting message in the first console would change to connection accepted.