BackstopJS icon indicating copy to clipboard operation
BackstopJS copied to clipboard

Getting the following error, net::ERR_CONNECTION_REFUSED at http://localhost:3000/

Open missamcdonald opened this issue 4 years ago • 6 comments

Hello, I'm trying to run BackstopJS and am getting the following error, net::ERR_CONNECTION_REFUSED at https://localhost:3000/ and have tried so many solutions that I'm now at a loss as to what to do. Can someone please assist me? Cheers!

missamcdonald avatar Apr 28 '21 16:04 missamcdonald

I've also tried http://localhost:3000 and that doesn't work either.

missamcdonald avatar Apr 28 '21 16:04 missamcdonald

Sorry, hard to tell what's going on from your description. One suggestion is to run this sanity test script in your home directory. It will install BackstopJS and run a simple test on your machine -- if this is successful then you can work your way up to testing your specific app by modifying the config files little by little. (check the docs for details)

Hope this helps!

mkdir backstopSanityTest; cd backstopSanityTest; npm install backstopjs; ./node_modules/.bin/backstop init; ./node_modules/.bin/backstop test

garris avatar Apr 28 '21 16:04 garris

Thanks, Garris, I will try that and report back. BTW, do you need any more information that might help?

missamcdonald avatar Apr 28 '21 16:04 missamcdonald

Unsuccessful, sadly. I get the following: zsh: no such file or directory: ./node_modules/.bin/backstop but I thought I had installed node. Will try that again.

missamcdonald avatar Apr 28 '21 16:04 missamcdonald

Am trying to use Docker with BackstopJS, let's see if that works!

missamcdonald avatar Apr 28 '21 17:04 missamcdonald

Oh dear, nothing is working. Could it be my web host? I changed the DNS settings to no avail.

missamcdonald avatar Apr 29 '21 03:04 missamcdonald