add port to connect and shift port numbers