Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Mongo Connection Timeout

Hi,

I currently have some integration tests running which uses the following url to connect to the mongo database:

mongodb://127.0.0.1:27017

as recommended by this link Test with mongo. I also have the following pipelines file to show how I build and test with a mongo service running to aid my tests Screenshot 2020-06-15 at 16.09.10.pnghowever the connection cannot be made I am assuming it is related to the ip address used to access the mongo container but I have read about using localhost and 127.0.0.1 but neither appear to work any help would be appr

1 answer

@Billy_Mumby perhaps you want to try 0.0.0.0 host. I do not see anywhere in docs using localhost, if it is atlassian documentation, link it to us, please (that I found in the question is responding with 404).

Regards, Galyna

For services 127.0.0.1 is mentioned in the docs to use as IP for service containers (link worked for me).

Then let's investigate your case if it is still actual, @Billy_Mumby when you are running the pipeline, you have several tabs for services, you wrote down , so you also should have a tab with mongo on your pipeline. Check if everything is fine there and then share please exact output of your pipeline failure.

Regards, Galyna

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Trello

📹 Favorite Trello templates

Hello Community!  My name is Brittany Joiner and I am a Trello enthusiast and Atlassian Community Leader. In this video, I'll share my favorite Trello templates. Templates mentioned in ...

75 views 4 5
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you