Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
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

ECONNREFUSED - Seems unable to allow service to access local

I have this on my bitbucket-pipeline.yml file:

docker run -d -p 1234:1234 agoldis/sorry-cypress-director

Works fine and goes to the next step.

However, when running my cypress tests, I get this error:

We encountered an unexpected error talking to our servers.
We will retry 3 more times in 30 seconds...
The server's response was:RequestError: Error: connect ECONNREFUSED

Understandably, it seems that the service is trying to access the local host which bitbucket is allowing.

Someone in another forum suggested that the ports might not be open for external access. However, there was no error in the docker run and port mapping was also included above.

1 answer

Anyone who can assist with this please?

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bitbucket

📣 Calling Bitbucket Data Center customers to participate in research

Hi everyone, Are you Bitbucket DC customer? If so, we'd love to talk to you! Our team wants to dive deep to understand your long-term plans regarding Bitbucket DC and Atlassian Cloud. Do you plan...

146 views 2 4
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