docs: clarify WebRTCDirect cannot reuse the same port as QUIC
sukun committed
Nov 22, 2023 at 14:53 UTC
3ae04c536e65954db9e6465346108f97d285c244
1 file changed
+2
-2
docs/config.md
+2
-2
@@ -2169,9 +2169,9 @@ nodes to connect to other nodes without special configuration, such as TLS
2169
certificates. This can be useful for browser nodes that do not yet support
2170
[WebTransport](https://blog.libp2p.io/2022-12-19-libp2p-webtransport/).
2171
2172
-Enabling this transport allows Kubo node to act on `/udp/4001/webrtc-direct`
2172
+Enabling this transport allows Kubo node to act on `/udp/4002/webrtc-direct`
2173
listeners defined in `Addresses.Swarm`, `Addresses.Announce` or
2174
-`Addresses.AppendAnnounce`.
2174
+`Addresses.AppendAnnounce`. At the moment, WebRTC Direct doesn't support listening on the same port as a QUIC or WebTransport listener
2175
2176
**NOTE:** at the moment, WebRTC Direct cannot be used to connect to a browser
2177
node to a node that is behind a NAT or firewall.