This is related to your local network. You will only be able to use Websockets for connections (which most nodes do not support) and not WebRTC. Go and fix your network, you likely have some UDP or NAT configuration issue (or a terrible ISP).
Yet WebRTC works for Chrome for the same device on the same network connection?