887574002:

how should I set them while I am working on a remote server?


The IP address should be reachable for all processes in the group. Usually you can get that IP by ifconfig and then pick the NIC you would like to use.