On the command line when you initially launch tvheadend, add the option --http_port followed by your preference for port. If you wish to change the HTSP port, you use --htsp_port followed by the port you wish to use.
So, for example, to change the HTTP port to 9983 Tvheadend would be launched with:
tvheadend --http_port 9983
after
edit default parameter in /etc/default/tvheadend
# Default configuration for Tvheadend.
# systemd
# See tvheadend --help for more - default "-u hts -g video"
OPTIONS="-u hts -g video"
for
# Default configuration for Tvheadend.
# systemd
# See tvheadend --help for more - default "-u hts -g video"
OPTIONS="-u hts -g video --http_port 9983"
after
sudo service tvheadend restart
So, for example, to change the HTTP port to 9983 Tvheadend would be launched with:
tvheadend --http_port 9983
after
edit default parameter in /etc/default/tvheadend
# Default configuration for Tvheadend.
# systemd
# See tvheadend --help for more - default "-u hts -g video"
OPTIONS="-u hts -g video"
for
# Default configuration for Tvheadend.
# systemd
# See tvheadend --help for more - default "-u hts -g video"
OPTIONS="-u hts -g video --http_port 9983"
after
sudo service tvheadend restart