https://cypress.io logo
Sorry, we could not load http://localhost:3000/
# i-need-help
f
Hello all! Strangely, my web application is available at the address indicated in the title. But when a browser (Firefox, Chrome, etc.) is launched via Cypress, my web application is no longer accessible. Even when opening a new tab, I can go on the internet, but my application at http://localhost:3000/ does not load. Have you ever encountered a similar problem? Thanks! 🌈
m
Hi @flat-night-46072 which version of Node.js are you using and what is the server which is serving your web application? We have found related problems on Node.js 18 due to new handling of dns lookups.
f
Hi @many-airline-45402 , I use Node.js version
v18.14.0
and I use Webpack via Nuxt to serve my web application
m
Since your error message shows it cannot connect to 127.0.0.1 (IPv4) you could try ::1 (IPv6). In other words, that would be http://[::1]:3000.
f
Thanks a lot for your help, I configured Nuxt to serve the web application on
0.0.0.0
instead of
localhost
and it works now 🤝
5 Views