ssadler/zeno

Detect external IP

Closed this issue · 2 comments

There are different options for getting external IP:

  1. Via config params
  2. Ask other peers (have to ask many)
  3. 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.

Went with icanhazip.com for the moment.

Now gets IP from ipv4.icanhazip.com