Detect external IP
Closed this issue · 2 comments
ssadler commented
There are different options for getting external IP:
- Via config params
- Ask other peers (have to ask many)
- Ask an external service (reliable?)
To be clear, the reason to do this is so that there isn’t an extra connection open to self.
ssadler commented
Went with icanhazip.com for the moment.
ssadler commented
Now gets IP from ipv4.icanhazip.com