Page 1 of 1

How can I change the port used by twonkywebdav.exe?

Posted: Wed Sep 12, 2012 1:53 am
by phibertron
For Example:

On windows I changed the registry key that starts the service to look like this

Code: Select all

twonkywebdav.exe -start -httpport 9090


In addition you have to change the following in the twonkyserver.ini

Code: Select all

# Webdav Port
webdavport=9090 
Notes:

on windows the -start is needed, and must be the first switch

there is a difference between web amd dlna clients in regards to webdav
the switch for -httpport is picked up by the web interface code, but not the server
the server for dlna clients needs it to be added to the twonkyserver.ini

also, youll have to adjust your firewall to allow for the port change

will test this on linux tonight or tommorow

Re: How can I change the port used by twonkywebdav.exe?

Posted: Wed Sep 12, 2012 2:22 am
by phibertron
It also works on linux, tested it with 7.0.9 on a WD MBL

Code: Select all

./twonkywebdav -httpport 9090 &
in addition to the twonkyserver.ini change

Code: Select all

# Webdav Port
webdavport=9090

Re: How can I change the port used by twonkywebdav.exe?

Posted: Thu Sep 13, 2012 10:18 pm
by ColinTaylor
Slightly different on my kirkwood NAS build.

Parameter is -port not -httpport (same applies for twokyproxy)

Also I'm not sure the entry in twonkyserver.ini is necessary as twonky seems to auto-detect the port being used (as shown in the status page of the web interface).

Re: How can I change the port used by twonkywebdav.exe?

Posted: Thu Sep 13, 2012 10:29 pm
by phibertron
Thanks for adding that info
what you see is very good to know
as there ae definitely differences in the builds and platforms