unable to open safesquid.cfg

General Information about how to make best use of this forum
India Pankaj6362
Posts: 8
Joined: Wed Mar 24, 2021 3:02 pm

unable to open safesquid.cfg

Post by Pankaj6362 » Fri Apr 02, 2021 6:16 am

unable to open safesquid.cfg in firefox browser.
SS.png
SS.png (63.28 KiB) Viewed 1424 times
Untitled.png
Untitled.png (65.15 KiB) Viewed 1424 times
SSSSSSSS.png
SSSSSSSS.png (99.68 KiB) Viewed 1423 times

India Pankaj6362
Posts: 8
Joined: Wed Mar 24, 2021 3:02 pm

Re: unable to open safesquid.cfg

Post by Pankaj6362 » Sat Apr 03, 2021 3:43 am

the problem with not opening safesquid.cfg is that,
first you need to switch to root user using
sudo -i command.
We need to start safesquid in putty using the above command
Command - /etc/init.d/safesquid start
for seeing this will be start or not use above command
command - netstat -nltop
Then open safesquid.cfg.

India aashish97
Posts: 117
Joined: Sat Jul 06, 2019 10:45 am

Re: unable to open safesquid.cfg

Post by aashish97 » Sat Apr 03, 2021 7:38 am

Hello,

As per your Error Screenshot: `The Proxy Server is Refusing Connection`
This On One hand means that your Browser is able to reach out to the Proxy Server but cannot connect to the Port.
This Happens,
1) Proxy Server Service is Not Running (In this case SafeSquid Service is Not Running or not Running on the Port that you specified in the Browser.)
2) Firewall is Enabled is Blocking the Port.

`Connection Refused`
are well known Error messages which means
Service is Not Running (atleast on the port that you connected to)
OR
Firewall is disallowing you to connect to it.

India aashish97
Posts: 117
Joined: Sat Jul 06, 2019 10:45 am

Re: unable to open safesquid.cfg

Post by aashish97 » Sat Apr 03, 2021 7:43 am

Please Check Current Running Network Services
using command

- ALL TCP Network Service

Code: Select all

netstat -nltop
Sample Output:

Code: Select all


root@swg-t-1:/# netstat -nltop
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name     Timer
tcp        0      0 0.0.0.0:8080            0.0.0.0:*               LISTEN      2456/safesquid       off (0.00/0/0)
tcp        0      0 10.0.1.92:53            0.0.0.0:*               LISTEN      741/named            off (0.00/0/0)
tcp        0      0 127.0.0.1:53            0.0.0.0:*               LISTEN      741/named            off (0.00/0/0)
tcp        0      0 127.0.0.53:53           0.0.0.0:*               LISTEN      643/systemd-resolve  off (0.00/0/0)
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      775/sshd             off (0.00/0/0)
tcp        0      0 127.0.0.1:953           0.0.0.0:*               LISTEN      741/named            off (0.00/0/0)
tcp        0      0 127.0.0.1:2812          0.0.0.0:*               LISTEN      788/monit            off (0.00/0/0)
tcp6       0      0 :::8080                 :::*                    LISTEN      2456/safesquid       off (0.00/0/0)
tcp6       0      0 :::8080                 :::*                    LISTEN      2456/safesquid       off (0.00/0/0)
tcp6       0      0 :::22                   :::*                    LISTEN      775/sshd             off (0.00/0/0)
tcp6       0      0 ::1:2812                :::*                    LISTEN      788/monit            off (0.00/0/0)


- ALL TCP & UDP Network Service

Code: Select all

netstat -nltuop


Check if SafeSquid Service is Running or Not

If Not, Start SafeSquid Service

Code: Select all

/etc/init.d/safesquid start
And Restart

Code: Select all

/etc/init.d/safesquid restart

Post Reply