-
Notifications
You must be signed in to change notification settings - Fork 6
Networking FAQ
Max Tuni edited this page Mar 12, 2017
·
2 revisions
If you want to use a low numbered port (the privileged ones), you need to grant permissions to the binary that runs YouTuPi, for instance:
sudo setcap CAP_NET_BIND_SERVICE=+eip /usr/bin/python2.7
You need to add the desired port to the youtupi.conf file and restart the service: nano ~/youtupi/youtupi.conf
"port": 80
To apply this changes, save the file and restart the YouTuPi daemon.
By default, the service listens to any IPv4 incoming client: 0.0.0.0
is the default bind. If you prefer to use the IPv6 stack, the equivalent config would be: nano ~/youtupi/youtupi.conf
"host": "::"