workaround for everlasting java bug that returns loopback addresses as local ips. (which is technically correct but not what the method was made for)