The issue occurs because of the following command used to enable content cache:
/usr/iwss/AdminUI/cache_helper.sh EnableCache
The “cache_helper.sh” configures Squid to use port 3128, so the port reverts to it every time content cache is enabled.
To retain your custom port for Squid:
- Open ../usr/iwss/AdminUI/cache_helper.sh.
- Search for port 3128. You will find two entries.
- Change port 3128 to the desired port.
- Save the changes.
- Disable and then enable content cache.
The specified port will be the value of the “http_port” parameter in the ../etc/squid/squid.conf file, and this port will be retained when you enable content cache.