modify ip and port