- I am trying to access the web through a proxy server and suddenly getting the error "Proxy server refusing connections".
- When I go to Restart the SafeSquid service from the SafeSquid interface, it displays the error "Proxy server refusing connections".
Root Causes
- SafeSquid Process is not running.
- SafeSquid is not listening 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, the monit service will start the SafeSquid service. If the Monit is not running, then safesquid is not going to start, till you start the Monit service manually).
Troubleshooting
1. Check the status of the monit service whether it is up or down.
If the output of the command is empty then run the below command to start the service:
- Command :/etc/init.d/monit start
2. Check the status of SafeSquid Service whether it is up or down.
If the monit service is started already, then you will get the SafeSquid process I
3. Check the listening IP and port of SafeSquid by using the below command:
- 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
4. Check the IP configured and Port in your browser and compare it with the above output.
In the above command, SafeSquid is listened to on all Interfaces on the server with Port 8080,8081, and 8443.