You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently node doesn't dial out of the UDP packet conn that it is listening on for /webrtc-direct. Because of this it cannot discover its publicly dialable address.
We find our listen address by dialing out using reuseport and then checking the observed address on identify. In webrtc-direct we never do a reuseport and so there's no way to find our listening address unless we manage to do port mapping on the router. So address discovery won't work on EC2 machines which don't have access to public IP from within the instance or UPnP like port mapping system.
@mxinden how does rust-libp2p do this address discovery?
The text was updated successfully, but these errors were encountered:
Currently node doesn't dial out of the UDP packet conn that it is listening on for
/webrtc-direct
. Because of this it cannot discover its publicly dialable address.We find our listen address by dialing out using reuseport and then checking the observed address on identify. In webrtc-direct we never do a reuseport and so there's no way to find our listening address unless we manage to do port mapping on the router. So address discovery won't work on EC2 machines which don't have access to public IP from within the instance or UPnP like port mapping system.
@mxinden how does rust-libp2p do this address discovery?
The text was updated successfully, but these errors were encountered: