coturn turn server error CREATE_PERMISSION 403: Forbidden IP

4k Views Asked by At

I deployed turn server using coturn with near-default configurations on ec2 instance. I was not able to connect with another peer using this turn server. It showed iceConnectionState changed to disconnected on the connection with error as peerjs logs on browser console and incoming packet CREATE_PERMISSION processed, error 403: Forbidden IP error on coturn server logs. How to fix this? (rhetorical)

1

There are 1 best solutions below

0
On BEST ANSWER

In my case,This answer absolutely helped me( although, it was not my error). I was setting only public dns for external-ip in turnserver.conf. I set it as public-ip/private-ip and it worked. something like below:

external-ip=13.some.thing.229/172.some.thing.else and now even the error made sense.