when client is local, use any connection type