Issue while Configuring Reverse Proxy

Issue while Configuring Reverse Proxy

Postby Paulie1 » Wed Sep 14, 2016 4:33 am

Hello,

I was trying to set up reverse proxy using safesquid-2016.0824.1234.3 by following the links
https://www.safesquid.com/content-filtering/can-i-implement-reverse-proxy-safesquid
https://www.safesquid.com/html/viewtopic.php?t=1650.

I had my SafeSquid listening on port 8080 and my Web-Server on port 80.

As it is suggested in the above links,
I configured my Web-Server to listen on a different port, 8000. All good so far.
But when I tried to configure SafeSquid to listen on the port 80 which my Web-server had been listening on earlier, SafeSquid was refusing connections :roll: as it failed to listen on port 80.
But when I configured SafeSquid to listen on ports other than 80, its working fine.

Can anyone solve the mystery for me, why safesquid listens on any available port but not 80 ?
And are there any other ways I could configure reverse proxy ?
Paulie1
 
Posts: 5
Joined: Sat Aug 06, 2016 6:10 pm

Re: Issue while Configuring Reverse Proxy

Postby dinesh3230 » Tue Sep 27, 2016 3:49 pm

Hi Paulie1,

The TCP/IP port numbers below 1024 are special in that normal users are not allowed to run servers on them. This is a security feaure, in that if you connect to a service on one of these ports you can be fairly sure that you have the real thing, and not a fake which some hacker has put up for you. The normal port number for W3 servers is port 80. This number has been assigned to WWW by the Internet Assigned Numbers Authority, IANA. When you run a server as a test from a non-priviliged account, you will normally test it on other ports, such as 2784, 5000, 8001 or 8080.
dinesh3230
 
Posts: 8
Joined: Mon Sep 14, 2015 2:46 pm


Return to SafeSquid for Linux

Who is online

Users browsing this forum: No registered users and 1 guest

cron