getLocalhostIP

Returns the localhost IP address, which is 127.0.0.1 for IPv4 and ::1 for IPv6 addresses.

getLocalhostIP() → returns String


Fork me on GitHub