added openshift specific listen code