FAQ  •  Register  •  Login

Bind Serviio to specific IP not working

<<

AndrewW

Serviio lover

Posts: 81

Joined: Sat Mar 19, 2011 8:15 am

Post Sat Jun 15, 2013 6:14 am

Bind Serviio to specific IP not working

I've used the entry
-Dserviio.boundAddr=192.168.0.5
in the ServiioService.exe.vmoptions, and Serviio binds successfully to this IP

However the following services
2013-06-15 06:59:35,862 INFO [RestletServer] Starting Restlet server (/rest) exposed on port 23423
2013-06-15 06:59:35,884 INFO [RestletServer] Starting Restlet server (/cds) exposed on port 23424
2013-06-15 06:59:35,885 INFO [RestletServer] Starting Restlet server (/mediabrowser) exposed on port 23424
bind to all IPs

I can prove this by starting a service and then trying to connect to it on all the IP's on my server

Any way to force the above services to connect on the specified IP's ONLY

Andrew
<<

will

DLNA master

Posts: 2138

Joined: Mon Aug 30, 2010 11:18 am

Location: UK

Post Sat Jun 15, 2013 7:59 am

Re: Bind Serviio to specific IP not working

That's by design and probably won't change eg the console connects to local host by default when installed on the same machine. If you really want you can block access using a firewall.
Will

ServiiDroid (Android Console) Developer: Download | Home | Support
ServiiGo (Android 3G/4G/WiFi Playback App) Developer: Download | Home | Support
<<

AndrewW

Serviio lover

Posts: 81

Joined: Sat Mar 19, 2011 8:15 am

Post Sat Jun 15, 2013 3:55 pm

Re: Bind Serviio to specific IP not working

if that's by design, then whats the point in the bind address to the alternate IP ????

Also these ports are on ALL allocated IPs.

That cant right.....
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Sat Jun 15, 2013 10:51 pm

Re: Bind Serviio to specific IP not working

These are Serviio specific API ports. The UPnP/DLNA server is bound to the selected IP only and Serviio uses the IP to multicast its presence as well.
<<

AndrewW

Serviio lover

Posts: 81

Joined: Sat Mar 19, 2011 8:15 am

Post Sun Jun 16, 2013 8:43 am

Re: Bind Serviio to specific IP not working

Thanks petr,
It just seems strange that only part of the product is managed by the IP binding. If other parts of the app are not using the rules, then this appears to negate the usefulness of the bind options,
or have i missed something ? I have only ever seen specific binding to allow the entire product to be locked to a specific IP by one or more config settings.


Will serviio be updated to allow the IP bind config to work for all services?

Andrew
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Sun Jun 16, 2013 3:07 pm

Re: Bind Serviio to specific IP not working

It's there to notify the devices what is the IP that Serviio is listening on. Again, it's only for the UPnP part. The non UPnP APIs listens on all IPs. This will not change.
<<

AndyH

Serviio newbie

Posts: 1

Joined: Sat Jul 19, 2025 5:15 pm

Post Sat Jul 19, 2025 5:23 pm

Re: Bind Serviio to specific IP not working

This is a long-shot but I thought I'd ask.
Just for "fun" I'm trying to run Serviio in a local Kubernetes cluster. I've almost got it working but I think I'm stuck because the UPnP part is advertising the IP address of the pod (10.1.20.119), which is an internal, cluster IP.
I think what I need is a way of overriding the IP address that's advertised so that when the devices on the network use the IP address, they are using the networking-facing IP address allocated by the Load Balancer.

Is there a way of overriding the IP address that's broadcast?

I know that there's a serviio.bindAddr and I've tried setting it to the network facing IP address but then I see errors in the logs ([MultiCastUtils] Host IP address 192.168.2.200 is not available, will try again 9 times) because the pod can't see that IP address. I need it to bind to the pod address but advertise a different one.

Return to Serviio Support & Help

Who is online

Users browsing this forum: No registered users and 74 guests

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.