Site icon JD Bots

How to Connect Valkey Admin to a Valkey Server

Featured card titled Connect Valkey Admin to Valkey, with a form showing Host localhost, Port 6379, an unticked Use TLS box and a Connect button.

Connect Valkey Admin to Valkey.

Valkey® Admin works with a server only after you add a connection to it. The Add Connection form has a dozen fields, but the Valkey on your own computer needs only a few of them.

By the end, Valkey Admin is connected to your Valkey and shows its Dashboard.

Note: Every command and screen on this page is real, from Valkey Admin 1.3.0 connected to Valkey 9.1 on an Apple silicon Mac with macOS 26.

Prerequisites

Step 1: Open the Add Connection Form

Open Valkey Admin (the desktop app or the Docker version) and click + Add Connection on the Connections page. The form opens with these defaults:

The form’s defaults. Use TLS starts ticked.

Step 2: Fill In the Fields for Your Valkey

  1. Alias: Local Valkey.
  2. Host: localhost in the desktop app. In the Docker version, host.docker.internal, because localhost inside the container is the container itself.
  3. Port: leave 6379.
  4. Untick Use TLS: the Valkey on your computer doesn’t use TLS. Valkey Admin then warns that the connection won’t be encrypted, which is expected here.
For the Valkey on your computer: localhost, port 6379, Use TLS unticked.

Step 3: Connect

Click Connect. Valkey Admin opens the Dashboard of the server, named after its host, port and database: localhost-6379-db0.

Connected: the Dashboard of localhost-6379-db0.

Common Mistakes

MistakeWhat happensDo this instead
Typing localhost in the Docker versionValkey Admin looks for Valkey inside its own containerType host.docker.internal
Planning to switch databases later with SELECTSend Command blocks SELECTSet Database in this form

Troubleshooting

ProblemCauseFix
failed to lookup address information: Name or service not knownThe Docker container can’t find host.docker.internalFixed: failed to lookup address information: Name or service not known (Valkey Admin in Docker)

FAQ

Can I connect to more than one server?

Yes. Add one connection for each server.

Does Valkey Admin remember my password?

Not in the web version: its known limitations say it asks for the password again after a page reload or in a new tab.

Conclusion

For the Valkey on your computer, type the host, keep port 6379, untick Use TLS and click Connect. Use localhost in the desktop app and host.docker.internal in Docker.

Related

Additional Resources

Valkey® is a registered trademark of LF Projects, LLC. Redis® is a registered trademark of Redis Ltd. Any rights therein are reserved to Redis Ltd. Other names mentioned are trademarks of their respective owners. JD Bots isn’t affiliated with the Valkey project, LF Projects or Redis Ltd., and isn’t endorsed, supported or certified by them.

Exit mobile version