You can actually add something to the config file in `/etc/pfclient-config.json` to do this.
"web_server_port" - set this to whatever port you require and it will override the default of 30053
Thanks Lee. Your method is much easier than what I did in file /etc/init.d/pfclient. I added --web_port=8181 to the line starting with start-stop-daemon
After above modification, and saving the file, following commands should be issued
Code:
sudo systemctl daemon-reload
sudo systemctl restart pfclient
Now I have deleted --web_port=8181 from file /etc/init.d/pfclient, making it back to default, and used your suggestion to modify file
/etc/pfclient-config.json as shown in screenshot below by inserting the portion
"web_server_port":"8181", pointed by red arrow:
My Settings.
I have broken "all-items-in-single-line" default setting into "one-item-per-line" (Easier to read & modify)
After making modifications, and saving file, issued following command
Code:
sudo systemctl restart pfclient
.