Added OpenShift ip and port compatibility