Is it possible to host a web application and Mongo Database in seperarte Server and client PC How to do that?
Loading
Is it possible to host a web application and Mongo Database in seperarte Server and client PC How to do that?
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Deepak TewatiaPosted Nov 5, 2024, 4:48 PM
Yes, it is possible. Edit mongod.conf, set bindIp to 0.0.0.0 for remote access then open port 27017 on DB Server firewall for MongoDB access. Now use MongoDB URI in the web application which is in another PC.