In some scenarios localhost resolves to the external ip. Adapted management daemon to reflect check performed in `start.sh`