Fix input ip to connect