Unity MLAPI. How get client IP on server side?

I study Unity MLAPI. How to find the IP address of the connected client on the server?

I found a temporary solution.
Use a third-party site to get a string variable with ip address, which can then be passed to the server.

using System.Net;

private void Start() 
{
string externalIP = new WebClient().DownloadString("http://icanhazip.com");
Debug.Log(externalIP);
}

For greater reliability, you can use multiple sites if one of them is not available.
Here is some of them: