better error message for local address