diff --git a/p2p/node.go b/p2p/node.go index cefabcf78..eff3e566e 100644 --- a/p2p/node.go +++ b/p2p/node.go @@ -484,7 +484,7 @@ func newAddrsFactory(advertiseAddrs []ma.Multiaddr) func([]ma.Multiaddr) []ma.Mu } func getPublicIP() (string, error) { - res, err := http.Get("https://ifconfig.me") + res, err := http.Get("https://ifconfig.me/ip") if err != nil { return "", err }