get server ip from net