I'm currently developing a prototype program that handles account registrations, and my approach involves utilizing Node.JS to write JavaScript code that can be utilized on mobile devices.
After downloading MongoDB and setting up the data/db directory to support it, using version 4.0.2 to ensure compatibility with Windows 8.1, I attempted to run the mongod
command in the command prompt to initiate the local server with npm
. However, it seems that MongoDB is not functioning correctly. The error messages displayed are as follows:
C:\Users\user>mongod
2021-08-03T17:40:37.119-0300 I CONTROL [main] Automatically disabling TLS 1.0,
to force-enable TLS 1.0 specify --sslDisabledProtocols 'none'
2021-08-03T17:40:38.707-0300 W ASIO [main] No TransportLayer configured dur
ing NetworkInterface startup
2021-08-03T17:40:38.710-0300 I CONTROL [initandlisten] MongoDB starting : pid=
3624 port=27017 dbpath=C:\data\db\ 64-bit host=user-pc
...
2021-08-03T17:40:42.126-0300 I SHARDING [ftdc] Marking collection local.oplog.r
s as collection version: <unsharded>
What steps should I take to resolve this issue and make MongoDB work correctly?