![how to install mongodb on windows 10 2019 how to install mongodb on windows 10 2019](https://i0.wp.com/www.techomoro.com/wp-content/uploads/2019/02/mongo5.png)
- #HOW TO INSTALL MONGODB ON WINDOWS 10 2019 HOW TO#
- #HOW TO INSTALL MONGODB ON WINDOWS 10 2019 CODE#
- #HOW TO INSTALL MONGODB ON WINDOWS 10 2019 WINDOWS 7#
If the telnet command just sits there waiting, then not good. You can get the host ip (that wsl/Ubuntu uses for servers running on windows) by using the cat /etc/nf that is mentioned in this thread. Probably should turn off the mongodb service (if running before doing any of this).īTW, a quick and easy test would be to use telnet on the wsl/Ubuntu command line From there you can follow the steps outlined by sylvix and sarunmrznĭon't forget the bind to 0.0.0.0 setting in mongod.cfg file.Then click on the "Allow an app through firewall".In the search box, type then click "Firewall & network protection".
#HOW TO INSTALL MONGODB ON WINDOWS 10 2019 HOW TO#
mongod.exe which is the database service. In this article, I will walk you through the step-by-step guide on how to install MongoDB on your Windows 10 operating system, with insights on GUI tools such as Mongo Compass and Robo 3t. Right Click the Windows Start icon (at the bottom left) In order to run Mongo yourself, you’ll need to run a command window, and navigate to the Mongo installation directory (typically C:Program FilesMongoDBServer4.4bin): The key files here are: mongo.exe which is a mongo client.D:myData> 'C:Program ' -dbpath'd:myData'. Run the server using following command: MONGOHOMEbinmongod.exe -dbpathd:myData. A data directory is the directory where mongoDB server instance will store data. The instructions for that part was a little confusing so let me clarify it a little. Create the data directory (say d:myData). Something about using the Windows settings firewall (instead of just using Windows Defender Firewall) worked!!! I tried SOOOO many things and nothing seemed to work, til I finally tried the steps outlined by by sylvix and sarunmrzn!!!
![how to install mongodb on windows 10 2019 how to install mongodb on windows 10 2019](https://www.journaldev.com/wp-content/uploads/2014/08/install-mongodb-linux.png)
#HOW TO INSTALL MONGODB ON WINDOWS 10 2019 CODE#
Installed Visual Studio 2019, setup vcpkg for mongo-cxx-drivers and code run in the first try.
#HOW TO INSTALL MONGODB ON WINDOWS 10 2019 WINDOWS 7#
EDIT3 : I dusted off my old Windows 7 PC. Thanks this works great! but why is the address on nf different from the address thats shown in ip addr? for me just the nameserver from nf works Does it result from the settings of the Windows 10 system or from the settings in MongoDB. Or google for "wsl find host ip" there are plenty of solutions there. On my machine cat /etc/nf works, after "nameserver" part.