when using mesos we need to get the assigned web port to connect to jetty