Can't connect to server with coturn running on it - EC2, Ubuntu 14.04

386 views
Skip to first unread message

Hui Song

unread,
Oct 4, 2016, 7:45:33 PM10/4/16
to TURN Server (Open-Source project)
Hi Everyone,

I'm new to TURN/STRN server and need some help with setting up coturn on EC2.
My instance is running with Ubuntu 14.04. I cloned "coturn" from git, after few things installed, I edited  /usr/local/etc/turnserver.conf.(Please see detail in attachment "coturn_turnserver_conf")
I ran "sudo make install", see no error. (Please see detail in attachment "coturn_log_makeinstall")
I ran "sudo turnserver", see no error either. (Please see detail in attachment " coturn_log_turnserver")

I ran "./rfc5769.sh " in "/coturn/examples/scripts", i got "./rfc5769.sh: 14: ./rfc5769.sh: turnutils_rfc5769check: not found".
I also tested "relay.sh" with "udp_c2c_client.sh", I got config error "CONFIG ERROR: -a and -z options cannot be used together." and "recv: Connection refused"
I tried to connect server through code, I got failure. Also I tried to test on this website "WebRTC samples Trickle ICE", not get right response. If test with Google TURN server, I can get response.

Can you let me know if my TURN server really running properly? I don't know if my way of test is incorrect or my configuration is incorrect. Or it's firewall setup issue?
Do you have any recommend way of testing it?

Thank you so much,
Hui

coturn_log_makeinstall.txt
coturn_log_turnserver.txt
coturn_turnserver_conf.txt

Oleg Moskalenko

unread,
Oct 4, 2016, 8:02:39 PM10/4/16
to Hui Song, TURN Server (Open-Source project)
you have to run the scripts while staying in .../coturn/ directory, for example:

./exampes/scripts/basic/relay.sh

Oleg
> --
> You received this message because you are subscribed to the Google Groups
> "TURN Server (Open-Source project)" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to
> turn-server-project-rfc57...@googlegroups.com.
> To post to this group, send email to
> turn-server-project...@googlegroups.com.
> Visit this group at
> https://groups.google.com/group/turn-server-project-rfc5766-turn-server.
> For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages