Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Google chrome returns ERR_CONNECTION_REFUSED #470

Open
Ostefanini opened this issue Sep 27, 2022 · 2 comments
Open

Google chrome returns ERR_CONNECTION_REFUSED #470

Ostefanini opened this issue Sep 27, 2022 · 2 comments

Comments

@Ostefanini
Copy link

Environment

  • OS: MacOS 12.6
  • mkcert version: 1.4.4
  • Server: localhost
  • Client: Chrome 105.0.5195.125

What you did

mkcert -install
mkcert {$domainName}

What went wrong

Works well on firefox & safari but not on chrome when accessing my react app on $domainName:3000 using command line:

HTTPS=true DISABLE_ESLINT_PLUGIN=true SSL_CRT_FILE=~/Documents/$domainName.pem SSL_KEY_FILE=~/Documents/$domainName-key.pem npm run start

@Ostefanini
Copy link
Author

I've been able to make my app work on chrome when disableing wifi on my laptop. It looks like chrome is trying to resolve from internet (and fails) before resolving from my localhost.

@chanced
Copy link

chanced commented Oct 11, 2022

Check the DNS provider in Chrome.If it is set to something other than "Use your current service provider" then switch it to that and see if it works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants