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

ECONNREFUSED 127.0.0.1:1234 - Seems unable to allow service to access local

e r March 26, 2021

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 127.0.0.1:1234

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

0 votes
e r March 29, 2021

Anyone who can assist with this please?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events