The user receives this error message, and only the IP address of the machine has changed.
The IP address defined with ifconfig(1M) must match that in /etc/hosts. That is, if you change the machine's IP address with ifconfig(1M), you must also change the machine's entry in the /etc/hosts file.
For machines with multiple interfaces, you must check and possibly update /etc/hostname.*.