No connect to agent on windows server 2019 core

On your core server try to execute the agent with check_mk_agent.exe fw -configure
I have also some 2019 servers where i must execute the firewall settings after every reboot of the machine.