Error: Invalid IP address
Last updated: June 26, 2020
The Error: Invalid IP address error appears when an IP address you've excluded from your site analytics isn't formatted correctly. To resolve this error, check if the IP address or range you added is a valid IPv4 or IPv6 address or range.
An IPv4 address has the following format: x.x.x.x where x is called an octet and must be a decimal value between 0 and 255. Octets are separated by periods. An IPv4 address must contain three periods and four octets. The following examples are valid IPv4 addresses:
- 1.2.3.4
- 01.102.37.255
An IPv6 address can have either of the following two formats: Normal - pure IPv6 format or Dual - IPv6 plus IPv4 formats.
An IPv6 (Normal) address has the following format: y:y:y:y:y:y:y:y where y is called a segment and can be any hexadecimal value between 0 and FFFF. The segments are separated by colons, not periods.
An IPv6 (Dual) address combines an IPv6 and an IPv4 address and has the following format: y:y:y:y:y:y:x.x.x.x. The IPv6 portion of the address (indicated with y's) is always at the beginning, followed by the IPv4 portion (indicated with x's).
The following examples are valid IPv6 addresses:
- 2001:db8:3333:4444:5555:6666:7777:8888 (Normal)
- 2001:db8:3333:4444:5555:6666:1.2.3.4 (Dual)