Unable to view cluster status with curl command

Hi,

I am trying to check my cluster status with curl command
curl http://localhost:9200 or
curl -XGET 'http://localhost:9200/_cluster/state?pretty'

getting below

//DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
html>
head>
link rel="stylesheet" href="http://www.mailcontrol.com/css/proxy.css" type="text/css">
link rel="shortcut icon" href="http://www.mailcontrol.com/images/wd_accessdenied.ico" type="image/x-icon">
title>Cannot connect
/head>
body>
div align="center">
div id="pagecontainer">
h1>The page cannot be displayed
div class="row">
table>
tr>

Reason:The page you are looking for is currently unavailable. The Web site might be experiencing technical difficulties.
tr>URL:http://localhost:9200/_cluster/state?pretty
tr>
tr>Options:
td class="item">
ul>
li>Click the Refresh button or try again later.
li>If you typed the page address in the Address bar, make sure that is spelled correctly.
li>If you are trying to reach a secure site, make sure your Security settings can support it.
/ul>
/td>
tr>

tr>
script>
document.write("

Click Go Back or use the browser's Back button to return to the previous page.

")
document.write("")
/script>
noscript>
Press Backspace or use the Browser's Back Button to return to the previous page.
/noscript>
/td> /div> //

Please help me out why i am not able to see cluster status

Please don't start multiple topics on the same issue, it makes it harder for us to assist you.

Let's continue the discussion in Not able to check cluster status with curl command

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.