apache-frontend: add promise to check port is listening