We tried to configure coturn
with an alternative listening port, and it's not working. I'd like to clarify if we're doing the right thing and if it doesn't work because of /me stupid
or the server.
We're using turns
(secure). I want the server to listen on port 5349 and 443, the default port in case 443 has web proxies which block turn traffic and 443 in case everything else is blocked. I was planning to give the client 2 redundant servers, one with each port.
- Is this a good idea or would you consider it unnecessary?
When I configure coturn
with
tls-listening-port=5349
alt-tls-listening-port=443
only 5349 works. When I change the specification order, 443 works.
Looks like alt-tls-listening-port
has no effect at all.
I know when using UDP the ports are consecutive by default, but the comments say
# Alternative listening port for TLS and DTLS protocols.
# Default (or zero) value means "TLS listening port plus one".
and for the non-TLS section
# This is needed for RFC 5780 support
# (STUN extension specs, NAT behavior discovery). The TURN Server
# supports RFC 5780 only if it is started with more than one
# listening IP address of the same family (IPv4 or IPv6).
# RFC 5780 is supported only by UDP protocol, other protocols
# are listening to that endpoint only for "symmetry".
so I assume what I am planning to do should work. Any ideas?