HTML tutorial
CSS3 tutorial
Bootstrap tutorial
JavaScript tutorial
JQuery tutorial
AngularJS tutorial
React tutorial
NodeJS tutorial
PHP tutorial
Python tutorial
Python3 tutorial
Django tutorial
Linux tutorial
Docker tutorial
Ruby tutorial
Java tutorial
C tutorial
C ++ tutorial
Perl tutorial
JSP tutorial
Lua tutorial
Scala tutorial
Go tutorial
ASP.NET tutorial
C # tutorial
We can specify the host and ip and port through telnet command to connect to Memcached services.
telnet HOST PORT
HOST PORTcommand and the IP and port running Memcached service.
The following example demonstrates how to connect to Memcached service and perform simple set and get commands.
Memcached services running in this instance to host 127.0.0.1 (native), the port is 11211.
telnet 127.0.0.1 11211 Trying 127.0.0.1/en. Connected to 127.0.0.1. Escape character is '^]'. set foo 0 0 3 保存命令 bar 数据 STORED 结果 get foo 取得命令 VALUE foo 0 3 数据 bar 数据 END 结束行 quit 退出