Antivirus software might occasionally interfere with your online browsing and trigger the ERR CONNECTION REFUSED error. While antivirus software is normally designed to protect consumers from harmful websites, it can occasionally block genuine websites.
Your DNS cache is a little storage space on your computer that saves the addresses of the websites you've recently visited. This will allow your computer to visit websites faster, which will speed up your online browsing. However, the DNS cache might get damaged at times, resulting in the ERR CONNECTION REFUSED message.
You can implement Google DNS 18.104.22.168 or Cloudflare 22.214.171.124 to see if it fixes your problem.
A issue with your network or Internet connection may trigger the ERR CONNECTION REFUSED error in some situations. If all of the following approaches have failed, you may need to contact your ISP for help.