Cypress not opens the app running on localhost #26465
Unanswered
dubakur
asked this question in
Questions and Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
We are working on project which uses Nx Monorepo react app. When we try to run the cypress against localhost it throws network error.It receives error ECONNREFUSED 127.0.0.1:4202 at network level when it runs cy.visit(). How I can I fix this.Please throw some ideas?
Localhost is running on the port 4202.I could double check in different browser instance but on the the browser instance in which cypress is running localhost is not working properly.Also, I can run the cypress against different url like www.cypress.io or google.com.The issue happens only when connecting to localhost.
Beta Was this translation helpful? Give feedback.
All reactions