IPAddress

IPAddress["address"]

is a symbolic representation of an IPv4 or IPv6 IP address.

Details

  • In IPAddress["address"], address must be a valid IPv4 (xxx.xxx.xxx.xxx) or IPv6 address.

Examples

open allclose all

Basic Examples  (2)

Ping an IP address:

Look up the IP addresses associated with a host name:

Scope  (1)

IPAddress can represent both IPv4 and IPv6 addresses:

Properties & Relations  (1)

IPAddress distinguishes between host names and raw numeric addresses:

Introduced in 2015
 (10.3)