Dear list,
I see a lot of error messages in my log file about “trying to bind to port and fail”, see attached logs. Can I ignore these error messages or have I configured something wrong?
The start script returns without error and a HTTP request to port 443 also returns “TURN Server”.
I have installed the turnserver-3.2.1.4-CentOS6-x86_64.tar.gz binaries on my own CentOS 6.5 server, not Amazon. The following ports are open both for TCP and UDP:
443
3478-3479
32768-65535
There are no other network services running on that machine (except sshd). I have verified that the TURN server was only started once.
I start the server like this:
$ turnserver -o -c /etc/turnserver/turnserver.conf
where the configuration file contains this:
$ cat /etc/turnserver/turnserver.conf | grep -v ^# | grep -v ^$
listening-port=443
listening-ip=XX.XX.XX.XX
listening-ip=YY.YY.YY.YY
verbose
fingerprint
lt-cred-mech
use-auth-secret
static-auth-secret=mysecret
realm=myserver.com
cert=/etc/ssl/turn_server_cert.pem
pkey=/etc/ssl/turn_server_pkey.pem
no-stdout-log
log-file=/var/log/turnserver/turnserver.log
proc-user=turnserver
I am intending to use the TURN server for a WebRTC application where all communication between the client and the TURN server should be encrypted, i.e. I will only provide the stuns and turns URI’s to the client.
Thank you for your assistance!