Fix regex for remote connections so it doesn't match eg 192.168.0.30 when the local ip is 192.168.0.3