Hands-on task
RESP3: the HELLO handshake
Redis is running on the default port. Connect to it over RESP3 and, from the server's reply to the handshake, find out the Redis version and the negotiated protocol version.
Write them to /root/hello.txt — exactly two lines:
- the server version (for example
8.0.2); - the protocol number the client and server agreed on.
- redis
- RESP3
- HELLO
- redis-cli -3
- protocol