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:
When I write
http_port 8888 i get command error.
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.
You should now edit (ex.