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.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.