CentOS-7.X 서버에 Turnserver를 설치하고 구성한 후 다음과 같은 문제가 발생했습니다.
$ ./turnserver
...
...
0: Cannot bind TCP/TLS listener socket to addr 39.39.39.39:3478
0: Trying to bind TCP/TLS listener socket to addr 39.39.39.39:3478, again...
bind: Cannot assign requested address
0: Trying to bind fd 257 to <39.39.39.39:3478>: errno=99
Cannot bind local socket to addr: Cannot assign requested address
0: Cannot bind TCP/TLS listener socket to addr 39.39.39.39:3478
0: Trying to bind TCP/TLS listener socket to addr 39.39.39.39:3478, again...
bind: Cannot assign requested address
0: Trying to bind fd 258 to <39.39.39.39:3478>: errno=99
Cannot bind local socket to addr: Cannot assign requested address
0: Cannot bind UDP/DTLS listener socket to addr 39.39.39.39:3478
0: Trying to bind UDP/DTLS listener socket to addr 39.39.39.39:3478, again...
이것은 내 turnserver.conf
파일입니다.
listening-ip=39.39.39.39
listening-port=3478
tls-listening-port=5349
relay-ip=39.39.39.39
external-ip=39.39.39.39
relay-threads=50
lt-cred-mech
userdb=/etc/turnuserdb.conf
# no-stdout-log
log-file=/var/tmp/turnserver.log
pidfile="/var/run/turnserver.pid"
일부 포트를 열려고 시도했지만 작동하지 않습니다.
$ firewall-cmd --list-ports
3478/tcp 3478/udp