Project

General

Profile

Actions

Bug #3625

closed

--http_root don't change port

Bug #3625: --http_root don't change port

Added by saen acro over 10 years ago. Updated about 10 years ago.

Status:
Invalid
Priority:
Normal
Assignee:
-
Category:
General
Target version:
-
Start date:
2016-03-12
Due date:
% Done:

0%

Estimated time:
Found in version:
4.1-1517 +
Affected Versions:

Description

Becouse there is not any explanation in wiki

--http_port             Specify alternative http port
--http_root Specify alternative http webroot
--htsp_port Specify alternative htsp port
--htsp_port2 Specify extra htsp port

I use
tvheadend --http_root 80 -C

With must make opening of TVH on :80
but actually it make
:9981/*80*/extjs.html ???

Updated by B C over 10 years ago Actions #1

just like the cmd line help says, use
--http_port 80
to set a different port

Updated by saen acro over 10 years ago Actions #2

--http_port X
change 9981 to port X
9981 not respond any more after that.

Not explained
WIKI says nothing

Updated by B C over 10 years ago Actions #3

yes it changes the port, what else should it do????

Updated by Erik Lowney over 10 years ago Actions #4

root and port are two different words with two different meanings.

Updated by saen acro over 10 years ago Actions #5

So whathever I do, there is not posible to have working :80 and :9981 for web.
Becouse "change" port and "alternative" port are different meanings, but same in case.

Updated by B C about 10 years ago Actions #6

alternative = running on a different port. additional is the correct wording if you are that precise. Never the less, if you want for whatever reason to reach the web IF on more than one port (which IMHO is quote useless), use iptables to define a local redirect of the additional port

Updated by Jaroslav Kysela about 10 years ago Actions #7

If you want to use port 80, you must run tvheadend as root - it's limitation of *nix system - ports bellow 1024 can be used only as root. But tvh might change the user using -u and -g arguments when all these resources requiring the root access are allocated.

Updated by Jaroslav Kysela about 10 years ago Actions #8

  • Status changed from New to Invalid

Updated by saen acro about 10 years ago Actions #9

My idea was different.
I use TVH on STB there is no other user then ROOT ;)
But idea is to have :80 for WEB interface and :9981 :9982 :554/9983 for streaming
because some clients don't understand port different then :9981

p.s. STB don't have IPTABLES

Actions

Also available in: PDF Atom