I am using Mongodb on Windows where My whole project in ubuntu by WSL2. when I tried to connect my local mongodb server, I got not found error.
I tried to connect through my windows ip which is (mongodb://192.168.x.x:27017)
but unfortunately this method is not working. even if I tried to connect this url in mongodb compass on same machine it also doesn't work.
I also have another windows Pc in same WIFI. how Can I access My Windows mongodb
server from another PC. and How Can I access my Mongodb from wsl. please help.
thanks in advance.