在本机测试端口如下
[root
@localhost conf]# curl 192.168.0.1:9200
{
"status" : 200,
"name" : "master",
"version" : {
"number" : "1.2.0"
"lucene_version" : "4.8"
},
"tagline" : "You Know, for Search"
}
[root@localhost conf]# curl -I "192.168.0.1:80/search"
HTTP/1.1 404 Not Found
Server: Tengine/1.5.0
Date: Mon, 23 Jun 2014 19:08:55 GMT
Content-Type: text/plain; charset=UTF-8
Content-Length: 0
Connection: keep-alive
[root@localhost conf]# curl 192.168.0.1/search
No handler found for uri [/search] and method [GET