-
Using |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
It comes down to what behaviour youre using or if youre manually adding the external address. Eg you can use autonat to determine your node external address (assuming your node is dialable and connected to another peer with the same protocol). You can use |
Beta Was this translation helpful? Give feedback.
It comes down to what behaviour youre using or if youre manually adding the external address. Eg you can use autonat to determine your node external address (assuming your node is dialable and connected to another peer with the same protocol). You can use
libp2p-upnp
, which would report your ip address viaExternalAddrConfirmed
if upnp is supported. You can also manually add it viaSwarm::add_external_address
, which would also emit the event to swarm.