I ran into this issue when configuring zabbix on a long night. Maybe because i was too tired to notice on the client i was editing the server information in /etc/zabbix/agent.conf instead of /etc/zabbix/agentd.conf which is the config file for the daemon.
Edit the right file and you’ll get rid of this error.
