bind socket on multiple IP adresses?
Forum rules
Please make sure you follow the Problem Reporting Guidelines before posting if you want a reply
Please make sure you follow the Problem Reporting Guidelines before posting if you want a reply
bind socket on multiple IP adresses?
Hi,
is it possible to have UMS listen on two IP adresses? I'd like to have UMS exposed on my LAN and on my WAN NIC but not on another LAN NIC I also have in the system. "hostname" in UMS.conf seems to allow only a single value. Leaving "hostname" out of the configuration file, UMS will pick up one IP adress randomly it seems.
Greetings
is it possible to have UMS listen on two IP adresses? I'd like to have UMS exposed on my LAN and on my WAN NIC but not on another LAN NIC I also have in the system. "hostname" in UMS.conf seems to allow only a single value. Leaving "hostname" out of the configuration file, UMS will pick up one IP adress randomly it seems.
Greetings
Re: bind socket on multiple IP adresses?
If you have multiple NICS and you don't want to Team the nics. then i don't think there is a way to do it currently in the app.



Please remember to Upload your debug logs!
Universal Media Server Wiki!
"...functionality before beautification..."
Re: bind socket on multiple IP adresses?
If I'm correct I think you have the following possibilities:
-1. One instance of UMS listening on 1 IP address, serviceing multiple clients at the same time (your regular UMS setup I suppose)
-2. Multiple instances of UMS by using separate profiles; so these can be configured to listen on different IP addresses (NICS) on the same machine.
-3. Configure UMS as in -1., but configure your router to forward incoming (WAN) traffic on a certain port to the port and IP where UMS is installed. This should be a setup similar to hosting your own webserver that is accessible by connecting clients of an external network e.g. the internet.
-1. One instance of UMS listening on 1 IP address, serviceing multiple clients at the same time (your regular UMS setup I suppose)
-2. Multiple instances of UMS by using separate profiles; so these can be configured to listen on different IP addresses (NICS) on the same machine.
-3. Configure UMS as in -1., but configure your router to forward incoming (WAN) traffic on a certain port to the port and IP where UMS is installed. This should be a setup similar to hosting your own webserver that is accessible by connecting clients of an external network e.g. the internet.