Cypress not able to call http xhr on different localhost port
I’m running and angular app (angular 18) in dev mode (npm run start), the app runs on http://localhost:4200/.
I have a simple Cypress test to visit the home page and check the title of the app.
When running the test: (cypress open –browser chrome), my app is not able to call public API of the backend that is running on http://localhost:16105/.
If I use curl to call the endpoint directly, the endpoint works correctly.
The angular app is calling multiple public API when loading and the problem occur on each.