FAQ  •  Register  •  Login

[INFO] "Force IP Address" address

<<

Strupniveral

Streaming enthusiast

Posts: 40

Joined: Mon Feb 27, 2012 7:22 am

Post Mon Mar 26, 2012 2:43 pm

[INFO] "Force IP Address" address

Hello,

I'm looking for a quick information: the "Force IP Address" setting is used to bound Serviio to a specific IP address, right?

I provided "192.168.0.254" as IP and restarted Serviio.
Here below are all the ports used by Serviio:
  Code:
java      11313     1002   30u  IPv4  21504      0t0  TCP 192.168.0.254:44331 (LISTEN)
java      11313     1002   34u  IPv4  21509      0t0  TCP *:23423 (LISTEN)
java      11313     1002   63u  IPv4  24018      0t0  TCP *:8895 (LISTEN)
java      11313     1002   64u  IPv4  24025      0t0  UDP *:1900


It looks like just the port 44331 is bounded to the specified address, while all the others are listening on all interfaces.
A similar behavior is shown by the web ui:
  Code:
java      12277     1001   31u  IPv4  23793      0t0  TCP 192.168.0.254:44333 (LISTEN)
java      12277     1001   36u  IPv4  23795      0t0  TCP *:8123 (LISTEN)


I don't have any issue with Serviio/Web UI, I'm just wondering if this is the intended behavior or if I'm missing something :)

Thanks in advance and Regards
Luca
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Mon Mar 26, 2012 7:01 pm

Re: [INFO] "Force IP Address" address

yes it is, so that you can access the REST API on localhost or the external IP address
<<

Strupniveral

Streaming enthusiast

Posts: 40

Joined: Mon Feb 27, 2012 7:22 am

Post Wed Mar 28, 2012 8:04 am

[INFO] "Force IP Address" address

I see, thanks for the clarification...

Is there a chance to force the binding to a single interface only?
In my specific case, the box running serviio in an headless linux box acting also as router, so binding to * means it will be possible to reach it from internet.
My current firewall settings forbid such thing, so I'm fine with current behavior - I'm just curious :)
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Wed Mar 28, 2012 12:49 pm

Re: [INFO] "Force IP Address" address

the 23423 port can be bound by adding -Dserviio.remoteHost system property (see support pages/faq)
<<

Strupniveral

Streaming enthusiast

Posts: 40

Joined: Mon Feb 27, 2012 7:22 am

Post Thu Mar 29, 2012 8:55 pm

Re: [INFO] "Force IP Address" address

cool, thanks!

Return to Serviio Support & Help

Who is online

Users browsing this forum: No registered users and 66 guests

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