how do you get player external ip address

Network.player.externalIP returns UNASSIGNED_SYSTEM_ADDRESS

The documentation
http://docs.unity3d.com/Documentation/ScriptReference/NetworkPlayer-externalIP.html

states “This will only be populated after some external connection has been made”

so how might i do this?

I found that I can achieve this by placing the following line before I try to access the external ip variable

Network.Connect("http://www.google.com");

Make sure you close the connection when you are finished

Network.Disconnect();