# Improving video connection success rate

**URL:** <https://mediasoup.discourse.group/t/improving-video-connection-success-rate/212>\
**Category:** mediasoup libraries\
**Created:** [August 19, 2019, 9:06am UTC](https://mediasoup.discourse.group/t/improving-video-connection-success-rate/212 "2019-08-19T09:06:59Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![ibc](https://yyz2.discourse-cdn.com/free1/user_avatar/mediasoup.discourse.group/ibc/32/1540_2.png) [@ibc](https://mediasoup.discourse.group/u/ibc)\
**Post date:** [August 19, 2019, 9:18am UTC](https://mediasoup.discourse.group/t/improving-video-connection-success-rate/212/2 "2019-08-19T09:18:32Z")

</div>

> - I assume a TURN server _can’t hurt and it might help._ Does a TURN server always run on port 443 (where I currently have mediasoup)? Would it be wise to move my mediasoup to a different port and then add a TURN server on 443? Or run TURN on a different port?

You don’t have “mediasoup running on port 443” because mediasoup does not listen for HTTP or WebSocket traffic at all. You may mean your HTTP/WS signaling server (which is not part of mediasoup).

For worst network cases you should have your TURN server listening into TLS port 443 with a proper TLS certificate. Since some networks (WiFi in hotels and so on) block traffic other than 80 and 443, you’d rather have TURN listening in TLS 443 of public IP\_A and your HTTP/WS signaling server in TLS 443 of public IP\_B.

> - Since the VPN problem is the currently the only problem that I can definitely identify/reproduce, how can I fix this issue? I realize this might have more to do with the signaling protocol that comes before mediasoup starts… but would still appreciate ANY mercy/help in approaching this problem!! 🙂

I don’t know why the VPN is the problem. No info. Try to check what exactly is wrong by testing a browser with VPN, check `chrome://webrtc-internals`, enable and check mediasoup server side [logs](https://mediasoup.org/documentation/v3/mediasoup/debugging/), use mediasoup server side and mediasoup-client local side `getStats()`, etc.

---

_[View the full topic](https://mediasoup.discourse.group/t/improving-video-connection-success-rate/212)._
