Reputation: 5952
I installed Couchbase and trying to test its caching. The URL localhost:8091/index.html
shows all most everything (stats,server info etc). When I tel net telnet localhost 8091
terminal shows
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
Then I tried to get the status with command stats
. Also, I tried to set a key-value . Both commands give the same error:
HTTP/1.1 400 Bad Request
Server: MochiWeb/1.0 (Any of you quaids got a smint?)
Date: Fri, 01 Aug 2014 05:28:31 GMT
Content-Length: 0
Upvotes: 3
Views: 317
Reputation: 9640
You are trying to telnet into the HTTP admin (UI) port 8091. To issue test commands in ASCII (e.g. stats
) use port 11211 (to connect to the legacy ASCII memcached proxy, moxi).
Upvotes: 4