This version of Unity is unsupported.
Removed

NetworkPlayer.externalIP

Obsolete The legacy networking system has been removed in Unity 2018.2. Use Unity Multiplayer and NetworkIdentity instead. public string externalIP;

Description

Returns the external IP address of the network interface.

This will only be populated after some external connection has been made.