Add support for local ip addresses.