These checks try to access the mentioned services on the public ip address. Apparently something in your setup causes the system to not be able to reach itself through its public ip address. I guess something network related.
Since these services are actually publically reachable, so I don’t think there’s an actual problem. The Mailinabox code that does the checks just isn’t build for your current situation, which is a bit different than expected.
You might want to look into the firewall/router and/or virtual machine and see how it handles access to your own ip address.
And then, after you’ve got it working, make sure your router’s external address and internal address are on these config lines. The config is built by the install process, but it doesn’t know about hairpin routing and doesn’t add network internal addresses.
This one is needed so fail2ban doesn’t block legitimate traffic from within your network (eg you ssh’ing into the server).