2017-07-06 413 views
1

我想在运行Ubuntu 14.04的谷歌计算云虚拟机实例上安装coturn服务器。我认为这是一个防火墙问题,但我在防火墙设置中打开了端口tcp:3478和udp:3478。没有其他进程在3478端口上运行。任何人都试图在gcloud上设置它? 我在做什么错。在谷歌Compute Cloud虚拟机实例上设置Coturn服务器时出错

$ sudo turnserver -a -v -n -r north.gov -L 35.189.173.237 
0: log file opened: /var/log/turn_2564_2017-07-06.log 
0: 
RFC 3489/5389/5766/5780/6062/6156 STUN/TURN Server 
Version Coturn-4.5.0.6 'dan Eider' 
0: 
Max number of open files/sockets allowed for this process: 65536 
0: 
Due to the open files/sockets limitation, 
max supported number of TURN Sessions possible is: 32500 (approximately) 
0: 

==== Show him the instruments, Practical Frost: ==== 

0: TLS supported 
0: DTLS supported 
0: DTLS 1.2 supported 
0: TURN/STUN ALPN supported 
0: Third-party authorization (oAuth) supported 
0: GCM (AEAD) supported 
0: OpenSSL compile-time version: OpenSSL 1.0.2g 1 Mar 2016 (0x1000207f) 
0: 
0: SQLite supported, default database location is /usr/local/var/db/turndb 
0: Redis is not supported 
0: PostgreSQL is not supported 
0: MySQL is not supported 
0: MongoDB is not supported 
0: 
0: Default Net Engine version: 3 (UDP thread per CPU core) 

===================================================== 

0: Listener address to use: 35.189.173.237 
0: Domain name: 
0: Default realm: north.gov 
0: WARNING: cannot find certificate file: turn_server_cert.pem (1) 
0: WARNING: cannot start TLS and DTLS listeners because certificate file is not set properly 
0: WARNING: cannot find private key file: turn_server_pkey.pem (1) 
0: WARNING: cannot start TLS and DTLS listeners because private key file is not set properly 
0: Relay address to use: 35.189.173.237 
0: pid file created: /var/run/turnserver.pid 
0: IO method (main listener thread): epoll (with changelist) 
0: WARNING: I cannot support STUN CHANGE_REQUEST functionality because only one IP address is provided 
0: Wait for relay ports initialization... 
0: relay 35.189.173.237 initialization... 
0: relay 35.189.173.237 initialization done 
0: Relay ports initialization done 
0: IO method (general relay thread): epoll (with changelist) 
0: turn server id=1 created 
bind: Cannot assign requested address 
0: IO method (general relay thread): epoll (with changelist) 
0: turn server id=0 created 
bind: Cannot assign requested address 
bind: Cannot assign requested address 
0: Trying to bind fd 16 to <35.189.173.237:3478>: errno=99 
Cannot bind local socket to addr: Cannot assign requested address 
0: Trying to bind fd 20 to <35.189.173.237:3478>: errno=99 
Cannot bind local socket to addr: Cannot assign requested address 
0: Cannot bind DTLS/UDP listener socket to addr 35.189.173.237:3478 
0: Trying to bind DTLS/UDP listener socket to addr 35.189.173.237:3478, again... 
0: Cannot bind TLS/TCP listener socket to addr 35.189.173.237:3478 
0: Trying to bind TLS/TCP listener socket to addr 35.189.173.237:3478, again... 
0: Trying to bind fd 18 to <35.189.173.237:3478>: errno=99 
Cannot bind local socket to addr: Cannot assign requested address 
0: Cannot bind TLS/TCP listener socket to addr 35.189.173.237:3478 
0: Trying to bind TLS/TCP listener socket to addr 35.189.173.237:3478, again... 
bind: Cannot assign requested address 
0: Trying to bind fd 20 to <35.189.173.237:3478>: errno=99 
Cannot bind local socket to addr: Cannot assign requested address 
0: Cannot bind DTLS/UDP listener socket to addr 35.189.173.237:3478 
0: Trying to bind DTLS/UDP listener socket to addr 35.189.173.237:3478, again... 
bind: Cannot assign requested address 
0: Trying to bind fd 16 to <35.189.173.237:3478>: errno=99 
bind: Cannot assign requested address 
0: Trying to bind fd 18 to <35.189.173.237:3478>: errno=99 
Cannot bind local socket to addr: Cannot assign requested address 
Cannot bind local socket to addr: Cannot assign requested address 
0: Cannot bind TLS/TCP listener socket to addr 35.189.173.237:3478 
0: Trying to bind TLS/TCP listener socket to addr 35.189.173.237:3478, again... 
0: Cannot bind TLS/TCP listener socket to addr 35.189.173.237:3478 
0: Trying to bind TLS/TCP listener socket to addr 35.189.173.237:3478, again... 
bind: Cannot assign requested address 
0: Trying to bind fd 20 to <35.189.173.237:3478>: errno=99 
Cannot bind local socket to addr: Cannot assign requested address 
0: Cannot bind DTLS/UDP listener socket to addr 35.189.173.237:3478 
0: Trying to bind DTLS/UDP listener socket to addr 35.189.173.237:3478, again... 
bind: Cannot assign requested address 
bind: Cannot assign requested address 

回答

相关问题