Page 1 of 1

How to change ports used by Serviio?

PostPosted: Tue Apr 09, 2019 9:31 pm
by RYann
Hello,

My provider setop box is known to have a bug that blocks the use of "small" values of ports... like default ports often used by DLNA servers.

But this setop box is also knows to work perfectly with DLNA servers if we change these small values of ports for large values like 54200.
For instances:
1- the workaround for us to make Kodi work is to change the value in file "upnpserver.xml" like this:
<upnpserver> ...
<Port>54200</Port>
...
</upnpserver>

2- the workaround to make Twonky Server work is ti change the configuration in file "twonkyserver.ini" like this:
[main]
# Visible name in the network
...
# Port of the http server
httpport=54200
...

3- the workaround to make Universal Media Server work is to set the port in the GUI like this:
in General settings > force server port (default is 5001), set manually to 54200

But I can't find where to change the port used by Serviio to make the same kind of change.
Can you help me to find the place where the port(s) could be changed?
Regards.

Re: How to change ports used by Serviio?

PostPosted: Tue Apr 09, 2019 9:38 pm
by zip
Hi, it's not that easy.

1. unzip serviio.jar file from the lib folder
2. find serviio.properties file
3. change value of webserver_port
4. zip it all back up (keep the .jar extension)
5. restart the service / PC

I haven't actually tried it, but it might work :-)

Re: How to change ports used by Serviio?

PostPosted: Fri May 24, 2019 9:22 pm
by RYann
Hi,

Yes it works! Thank you very much.
I've done all these steps manually and now everything is OK with a new port.

To let users set this port more easily (like in some other DLNA servers), and not repeat all this steps manually after each update, would it be possible to add a new value field in Serviio-Console for that port ?

E.g. in Status > Network Settings, just after Bound IO address.
That would be great!
Best regards.

Re: How to change ports used by Serviio?

PostPosted: Sun May 26, 2019 3:43 pm
by zip
Create a bitbucket request pls