get correct ip and port of open shift