Closed

docker simple nodejs and mongodb image

Hi,

I need some help to deploy a simple docker image into cloudfoundry or digital ocean. With the help of this video [login to view URL] i am able to make the docker image which runs absolutely fine in my local environment, but the problem comes when i try to deploy the image to cloud foundry or digital ocean.

the error that i get is

{ MongoNetworkError: failed to connect to server [testmongodb:27017] on first connect [MongoNetworkError: getaddrinfo ENOTFOUND testmongodb testmongodb:27017]

at Pool.<anonymous> (/home/google/mng/node_modules/mongodb-core/lib/topologies/[login to view URL]:11)

at emitOne ([login to view URL]:13)

at [login to view URL] ([login to view URL]:7)

at Connection.<anonymous> (/home/google/mng/node_modules/mongodb-core/lib/connection/[login to view URL]:12)

at [login to view URL] ([login to view URL]:30)

at emitTwo ([login to view URL]:13)

at [login to view URL] ([login to view URL]:7)

at Socket.<anonymous> (/home/google/mng/node_modules/mongodb-core/lib/connection/[login to view URL]:50)

at [login to view URL] ([login to view URL]:30)

at emitOne ([login to view URL]:13)

name: 'MongoNetworkError',

message: 'failed to connect to server [testmongodb:27017] on first connect [MongoNetworkError: getaddrinfo ENOTFOUND testmongodb testmongodb:27017]',

errorLabels: [ 'TransientTransactionError' ],

[Symbol(mongoErrorContextSymbol)]: {} }

It would be great if someone can help me solve this problem

Thanks

Skills: Docker

See more: simple html based image viewers, magento image upload http error, flash simple looping xml image scroll, simple example bmp image, simple xml flash image viewer, simple flash xml image gallery text field, simple javascript drag image, simple php flex image upload, simple flash horizontal image scroller, simple form number image verification, simple load database image example phpmysql, simple thumbnail php image portfolio, simple php mysql image gallery, simple upload delete image php ajax script, vbnet simple app display image, joomla simple image gallery thumbnail error, simple image gallery pro error, simple image gallery pro error creating thumbnail

About the Employer:
( 7 reviews ) munich, Germany

Project ID: #17845604

9 freelancers are bidding on average €31 for this job

awsdevopro

Hi, Docker master here at your service. Currently I'm a full time employer at [login to view URL] (In-House software farm) where my position is DevOps. Have been deployed in docker and AWS servers, some are DigitalOcean More

€75 EUR in 1 day
(5 Reviews)
3.6
AhmedSaberfl

I have excellent experience with docker and would like to assist you in this project. Please check out my customers feedback and my profile for more info about my skills and experience. Thanks Ahmed Saber

€29 EUR in 1 day
(2 Reviews)
3.2
mtriettruong

hi, With the kind of this issue, I think it is not too complicate. What I suggest to figure out this is to have a ssh session on the machine that you run the docker container. After that, we will check the connectio More

€29 EUR in 1 day
(5 Reviews)
2.9
omardoma

Hello Sir, I am a 5+ years of experience Web Developer, I am an expert in Node.js, Angular, Ionic, Docker, Nginx, [login to view URL], MySQL and MongoDB. I am from Egypt and I speak English fluently. I am a 5 star rated de More

€30 EUR in 0 days
(0 Reviews)
0.0
AbrahamBU

hello, u have much experience on docker and container orchestration. i have experience on mongo with replicaset and sharding on docker system

€23 EUR in 1 day
(0 Reviews)
0.0
sambestsolutions

Hi I am an Engineering undergraduate with experienced in docker and kubernetes for more than 2 years. I have made many many docker images of various applications related to mysql, php, mongodb, python, java and many More

€23 EUR in 3 days
(0 Reviews)
0.0
avnishsingh

I have 2 years of experience on docker/kubernetes and golang. I have strong technicals skills and curiosity that helps me understand, debug, test and start working on a project quickly.

€24 EUR in 1 day
(0 Reviews)
0.0
mzaferyahsi

Hi, I've been working with Docker and MEAN stack in both my corporate and personal projects, I do see that you're having a connectivity issue which I believe I can easily help you solve it. Thanks, Zafer.

€20 EUR in 1 day
(0 Reviews)
0.0
agalicia

I can help you to check what is causing the error in the MongoDB connection. I have been working with Docker many years. Thanks.

€23 EUR in 1 day
(0 Reviews)
0.0