Trying to run cypress.io tests on my react application in circle-ci. I’ve used cypress before but never with circle-ci. After seeing localhost fail and googling a bit, I came across Can't connect to node HTTP server running on localhost - #6 by sdubois So I’ve tried that using wait-on to try to connect to my project which should be running at 192.168.96.3/ according to npm start.
For whatever reason, however, that still doesn’t work with ECONNREFUSED. So finally, I rerun the job with ssh, and ssh into my job. I run npm start, which outputs: Project is running at 192.168.96.3/
. So I try curl http://192.168.96.3
and I still get ECONNREFUSED.
Anything that I’m missing. I know my app is running, I know the ip that it should be running on, so why can’t I connect to it?