The redis socket is not the socket for openvasmd/gvmd. Only the openvas scanner is using the redis socket. gvm-cli needs to talk to openvasmd/gvmd. The socket location depends on your installation method. If you are using packages from your distribution it’s likely to be found under /var. Try to use
find /var -name "*md.sock"