Getting an error Proxy server refusing connections

Getting an error Proxy server refusing connections

Issues

I am trying to access the web through proxy server and suddenly getting error "Proxy server refusing connections".
When I am going to Restart SafeSquid service from SafeSquid interface, it is displaying error "Proxy server refusing connections".

Root Causes

SafeSquid Process is not running.
SafeSquid is not listenning on the specific IP (or) port, where you configured in the client browsers.
Monit service is not running on SafeSquid Server. (When you restart SafeSquid from the Interface, monit service will start the SafeSquid service. If the Monit is not running, then safesquid is not going to start, till you start monit service manually).

Troubleshooting

 1. Check status of monit service whether it is up or down.
  1. Command: pidof monit
 If the ouput of the command is empty then run below command to start the service
  1. Command :/etc/init.d/monit start
2.Check status of SafeSquid Service whether it is up or down.
  1. Command: pidof safesquid
If the monit service is started already, then you will get the SafeSquid process I
3.Check the listenning IP and port of SafeSquid by using below command
  1. Command: netstat -tlnp | grep -iE "safesquid"
tcp6       0      0 :::8080                 :::*                    LISTEN      2741/safesquid
tcp6       0      0 :::8081                 :::*                    LISTEN      2741/safesquid
tcp6       0      0 :::8443                 :::*                    LISTEN      2741/safesquid
Check the IP configured and Port in your browser and compare with the above output
In the above command SafeSquid is listened on all Interfaces on the server with Port 8080,8081, and 8443


    • Related Articles

    • Standard Operating Procedure (SOP) for Troubleshooting Issues in your SafeSquid proxy server

      Purpose: To provide a consistent and effective approach to troubleshooting network connectivity and web server issues using key commands. Scope: This SOP applies to troubleshooting sessions involving DNS resolution, port connectivity, web server ...
    • Transparent proxy

      Overview Internet is an essential part of most company’s business infrastructure. However, it can be a risky place, but there are ways to minimize risks so your business can thrive. Analysts encourage organizations to deploy a secure web gateway ...
    • Disk space and RAM is full on SafeSquid server

      Overview Manage disk space on SafeSquid server. When any of the partitions that are used by SafeSquid are full, it results in undefined behavior. This may lead to something like, SafeSquid failing in processing the connections. Prerequisites Give the ...
    • Do Android proxy settings apply to all apps on the device

      No, they do not apply globally and without root there is no way to force a proxy to be used by all applications. The reason behind that it is depend upon application creator to respect the proxy settings and use them or do the wrong thing and ignore ...
    • Product Activation Failure

      Issues I uploaded my activation key, still SafeSquid UI is showing Failed to set Subscription details After uploading the activation key, I am getting the template on browser proxy server refusing connections Unable to see subscription details on ...