Question

I've installed and configured rfc5766-turn-server under Cygwin. Now, how do I register it as a Windows service?

Était-ce utile?

La solution

In a cygwin shell, run:

cygrunsrv -I turnserver -p /usr/local/bin/turnserver -a "arguments"

Run /usr/local/bin/turnserver -? to list possible arguments.

WARNING: turnserver assumes you are using a static ip address. If the computer is configured to use DHCP, and the DHCP server assigns the computer a static ip, make sure the service startup type is Automatic (Delayed Start). Otherwise, the server will attempt to bind to the network interface before the computer acquires an address from DHCP and fail.

If you see Trying to bind fd <number> to <ip-address:port>: errno=125 in the log file, this is what happened.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top