Error with add host to icinga web 2

install icinga web 2 on my ubuntu 18.04 pc, with the installation there is no problem, what happens is that when adding a host if it recognizes it even the ping service is up but the others do not like HTTP.
The image shows the error it gives me

Connection refused (I assume this is the translation) could be caused by a number of things.

Two simple questions:

  • Is SSH/HTTP running on ports 22 and 80 respectively? If not, you may need to change the port that the check is trying to talk to.
  • If so, do you have a network firewall or firewall rule on the machine that prevents Icinga from checking these ports?

Also looks like you have an oddity with the andrea: ssh check where it is checking the localhost IP.