how to ip and port