[ecm_admin@ecm152x19 ~]$ curl -v -X GET -H "Accept:application/json" -u "cisco:cisco" -d "" https://10.111.155.59:55443/api/v1/global/host-name * About to connect() to 10.111.155.59 port 55443 (#0) * Trying 10.111.155.59... Connection refused * couldn't connect to host * Closing connection #0 curl: (7) couldn't connect to host [ecm_admin@ecm152x19 ~]$ curl -k -v -X GET -H "Accept:application/json" -u "cisco:cisco" -d "" https://10.111.155.59:443/api/v1/global/host-name * About to connect() to 10.111.155.59 port 443 (#0) * Trying 10.111.155.59... connected * Connected to 10.111.155.59 (10.111.155.59) port 443 (#0) * Initializing NSS with certpath: sql:/etc/pki/nssdb * warning: ignoring value of ssl.verifyhost * skipping SSL peer certificate verification * SSL connection using TLS_DHE_RSA_WITH_AES_256_CBC_SHA * Server certificate: * subject: CN=IOS-Self-Signed-Certificate-4142059463 * start date: Feb 21 12:44:39 2017 GMT * expire date: Jan 01 00:00:00 2020 GMT * common name: IOS-Self-Signed-Certificate-4142059463 * issuer: CN=IOS-Self-Signed-Certificate-4142059463 * Server auth using Basic with user 'cisco' > GET /api/v1/global/host-name HTTP/1.1 > Authorization: Basic Y2lzY286Y2lzY28= > User-Agent: curl/7.19.7 (x86_64-redhat-linux-gnu) libcurl/7.19.7 NSS/3.18 Basic ECC zlib/1.2.3 libidn/1.18 libssh2/1.4.2 > Host: 10.111.155.59 > Accept:application/json > Content-Length: 0 > Content-Type: application/x-www-form-urlencoded > < HTTP/1.1 404 Not Found < Server: nginx < Date: Tue, 21 Feb 2017 14:38:29 GMT < Transfer-Encoding: chunked < Connection: close < Accept-Ranges: none < X-XSS-Protection: 1; mode=block < X-Content-Type-Options: nosniff < X-Frame-Options: SAMEORIGIN < Strict-Transport-Security: max-age=7884000 < 404 Not Found [ecm_admin@ecm152x19 ~]$ curl -k -v -X POST -H "Accept:application/json" -u "cisco:cisco" -d "" https://10.111.155.59:55443/api/v1/global/banner * About to connect() to 10.111.155.59 port 55443 (#0) * Trying 10.111.155.59... Connection timed out * couldn't connect to host * Closing connection #0 curl: (7) couldn't connect to host