Windows 10: This site canít be reached - localhost refused to connect.

Page 1 of 2 12 LastLast
  1.    16 Jun 2018 #1

    This site canít be reached - localhost refused to connect.


    I'm trying to connect to my Cyber Power UPS web based management software (PPBE) but keep receiving:

    This site canít be reached localhost refused to connect.

    Search Google for localhost 3052 agent

    ERR_CONNECTION_REFUSED

    I get the same error in Chrome, Edge and Firefox. I can't think of anything that's changed on my network to cause this. Can anyone help? It seems like a port issue but I haven't found a definitive solution.

    Click image for larger version. 

Name:	This site can't be reached.png 
Views:	49 
Size:	6.8 KB 
ID:	192481
      My ComputerSystem Spec

  2. Bree's Avatar
    Posts : 8,795
    10 Home x64 (1809) (10 Pro on 2nd pc)
       16 Jun 2018 #2

    Kol12 said: View Post
    I get the same error in Chrome, Edge and Firefox. I can't think of anything that's changed on my network to cause this. Can anyone help? It seems like a port issue but I haven't found a definitive solution.
    Reading the Manual from here...

    Troubleshooting Communication Problems
    If Client is unable to communicate with the power devices, the following steps can help users troubleshoot the issue:

    • Verify the network address is correct.
    • Verify the network configuration for the UPS or PDU is correct. The Power Device Network Utility tool can be used to configure the network configuration. The tool can be installed from the tools folder on the installation CD or downloaded from CyberPower Systems | UPS Battery Backup, Surge, PDU - Power Solutions.
    • Verify that the settings in the Security/Authentication page are correct and match the settings of the device. See Security/Authentication for more details.
    • Verify the port in the Security/Network page is matched with the settings for PowerPanel Business Edition Agent.
    • Check that the network status of computer and devices.
    • Verify firewall settings. Port 3052(UDP/TCP), port 53568(TCP), port 161(UDP), port 162(UDP) and port 53566(UDP) should be unblocked. The computer communicates with the power device on these ports. The PowerPanel software installer will automatically configure the Windows firewall to allow PowerPanelģ Applications access.
    • Verify that the SSL certificate from the Client has been added into the trust list of Agent. If the Client applies a new SSL certificate and is not in the trust list, communication will be lost.
    The last two items that I've marked in bold would seem the most likely causes.
      My ComputersSystem Spec

  3.    16 Jun 2018 #3

    Thanks Bree.

    Firewall is not my strong point but I will try to find out if said ports are blocked for some reason. I'm not sure I can access an Agent trust list without being able to access Agent itself so it's likely the first one that's the problem...
      My ComputerSystem Spec

  4.    16 Jun 2018 #4

    Go to C:\Windows\System32\drivers\etc and open your hosts and lmhosts.sam files with notepad and copy/paste the contents here. Just wanna make sure they don't have any weird entries.
      My ComputerSystem Spec

  5.    16 Jun 2018 #5

    Anolin said: View Post
    Go to C:\Windows\System32\drivers\etc and open your hosts and lmhosts.sam files with notepad and copy/paste the contents here. Just wanna make sure they don't have any weird entries.
    Well my hosts file is actually filled with a coin blocker list provided here at Ten forums: Protecting yourself from In-Browser Miners Solved - Windows 10 Forums

    I've attached copies of both my hosts and Imhosts.sam files.Hosts copy.txtImhosts.sam copy.txt
      My ComputerSystem Spec

  6.    16 Jun 2018 #6

    Try using 127.0.0.1 instead of localhost its the same thing
      My ComputerSystem Spec

  7.    17 Jun 2018 #7

    Samuria said: View Post
    Try using 127.0.0.1 instead of localhost its the same thing
    Like http://127.0.0.1:3052/agent/ instead of http://localhost:3052/agent/?

    Still same error: 127.0.0.1 refused to connect.
      My ComputerSystem Spec

  8.    17 Jun 2018 #8

    Can you reach it from another PC by IP it's it http or HTTPS?
      My ComputerSystem Spec

  9.    17 Jun 2018 #9

    Samuria said: View Post
    Can you reach it from another PC by IP it's it http or HTTPS?
    I tried accessing it on my phone in Firefox and it can't connect either. This then should be an issue with my router or an issue on CyberPower's software/server end?
      My ComputerSystem Spec

  10.    18 Jun 2018 #10

    Hi there
    @Kol12

    try first disconnecting all firewalls and disabling any A/V software.
    Ensure also any Network cards in your system are working properly -- i.e correct drivers etc.

    I think in your example you also need to ensure port 3052 is open / reachable -- you'll have to set that in your router - logon to your router and check ports -- these in sensible router hardware are normally closed by default.
    A firewall also probably blocks these too by default which is why when testing network stuff disable firewalls - after it's working then apply the required level of security.

    you should be able to ping localhost and see something like this from command mode -- this is on a Linux server but it's identical to Windows where you'll see an identical screen to the one shown.

    Click image for larger version. 

Name:	localhost.png 
Views:	1 
Size:	68.8 KB 
ID:	192714

    another get around is to install the Ms loop back adapter - this will ensure localhost works even with no physical external network(s) available.

    Install Microsoft Loopback Adapter

    It's an excellent testing tool

    What is Microsoft Loopback Adapter and why do we need it ? - Andrei DANEASA

    ensure also that you have network discovery turned on.

    It's probably a firewall or A/V software problem - or a combination of both.

    Note you won't be able to connect to localhost on any other devices - you have to be on the local machine itself.
    To access from another device you'll need to connect to its IP address on the network / use client software if you are connecting to a server.

    For multi-media though I'd install something like Kodi then simple file sharing works fine - plus Kodi plays almost every video / audio stream known to man including ripped DVD ISO's on remote devices. - Install KODI on the remote devices - it's the client end and will pick up your multi-media on your server -- works fine on android phones, amazon fire TV boxes and hence remote TV's - even "Non smart" older ones.

    cheers
    jimbo
    Last edited by jimbo45; 18 Jun 2018 at 04:00.
      My ComputerSystem Spec


 
Page 1 of 2 12 LastLast

Related Threads
Why 'Refused To Connect' ? in Network and Sharing
I have a win10 machine. It has two adapters - one onboard ethernet and one plugin usb wifi. Both adapters are enabled and both seem to be working fine. The wifi is allowing internet access and here I am writing this via it. The ethernet...
Hello, Please excuse if this has been covered, But I can't find anything which matches my problem. I have had to change a email address from a old one to my current one and they sent a email for me to verify it. my problem is that it is a...
I am trying for the first time to open this server and having no luck. I have checked my task manager and it is running and have also logged into mysql2. I am trying to take a course Ruby on Rails and this is my first assignment! Any advice or...
Elsewhere in these forums it has been explained that for a localhost site to run in Edge, the Developer's Settings Use Microsoft Compatibility Lists and Allow Localhost Loopback should both be checked to be active. I have done that and I can use...
:sick: Hi, since yesterday my Hyper-V stoped work. I have no clue of whats going on. I tried to uninstall and install it again, but didn't work. Does someone knows how to purge hyper-v configuration when remove/uninstall it? Because it seems...
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 07:21.
Find Us