Common IPv4 input mistakes
A conventional dotted-decimal IPv4 address has four decimal octets, each between 0 and 255. A hostname or address with a port is not a bare IPv4 address.
Practical example
192.0.2.256 is invalid. Remove a port suffix before validating a bare address, and avoid ambiguous leading zeros.
Try it yourself
Open the related tool and compare its output with the example above.