![]() MONGODB_URI=mongodb://192.168.1.88:27017/SampleDB //local machine ipĬan you share the steps which i needs to follow to connect the sampleDb of my system or any other system. MONGODB_URI=mongodb://localhost:27017/SampleDB // localhost But unable to connect the db into that running application. To solve this issue how to connect with mongodb. I am getting 192.168.99.100:login net:empty response only. If i give like this when i click the login button it is not authorizing the username and password from the sampledb (users collection). MONGODB_URI=mongodb://localhost:27017/SampleDB in application env file is already there to make a connection for mongodb. My need is I want to connect local system database using mongodb. Hi I have just build an nodejs application image in docker it is running in docker machine ip 192.168.99.100:8088. How do I resolve this problem? How to connect with mongodb? If it matched It will allow to login an application otherwise it will show the error message. While clicking the login button I am checking that password is matching with an username or not. But I could not able to login to the system. So the application which is running in docker has these files. > MONGODB_URI=mongodb://localhost:27017/SampleDBįrom this file, I am passing the port and mongodb path to my server.js. The file has the mongo db path and port number which I used to run the application: What is the procedure should I make a connection with my db. How to do I connect localhost(my system db) into docker. application is running on the docker machine I built docker image for that application. Hi, I developed one application using meanstack technology.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |