how to To set your Squid server to listen on TCP port 8888
Matthew Harrington
how to To set your Squid server to listen on TCP port 8888 instead of the default TCP port 3128, change the http_port directive as such:
http_port 8888When I write http_port 8888 i get command error.
1 Answer
You can read the detailed documentation regarding installation/configuration of Squid.
Prior to editing the configuration file, you should make a copy of the original file and protect it from writing so you will have the original settings as a reference to re-use as necessary.
sudo cp /etc/squid/squid.conf /etc/squid/squid.conf.original
sudo chmod a-w /etc/squid/squid.conf.originalYou should now edit (ex. sudo nano /etc/squid/squid.conf) the file /etc/squid/squid.conf and change the http_port directive to http_port 8888