modify the address of connection to server