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 Jira Service Management

Security Advisory for Jira Service Management

On October 20, 2021, Atlassian published a security advisory for Jira Service Management. The full advisory is available at this link.  We've seen a number of questions already asking for...

75 views 0 1
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