Closed scalp42 closed 8 years ago
If you try to pass a host:port combo using the -h flag, it's not working:
host:port
-h
root@mesos-master # marathonctl -h=prod-marathon:8080 app list request to prod-marathon:8080 failed failed to get response requests to all hosts failed root@mesos-master # http prod-marathon:8080/ping HTTP/1.1 200 OK Access-Control-Allow-Credentials: true Cache-Control: must-revalidate,no-cache,no-store Content-Length: 5 Content-Type: text/plain;charset=iso-8859-1 Date: Mon, 28 Dec 2015 23:11:06 GMT Date: Mon, 28 Dec 2015 23:11:06 GMT Expires: 0 Pragma: no-cache Server: Jetty(9.3.z-SNAPSHOT) X-Marathon-Leader: master:8080 X-Marathon-Via: 1.1 master:8080 pong
Oh, you need http://.
http://
If you try to pass a
host:port
combo using the-h
flag, it's not working: