parsl.addresses.address_by_route

parsl.addresses.address_by_route() str[source]

Finds an address for the local host by querying the local routing table for the route to Google DNS.

This will return an unusable value when the internet-facing address is not reachable from workers.