When I set the requirepass property by adding it to the root conf (or by setting custom conf) or by adding it upon startup (redis-server --requirepass) it doesn't work, the cli says that there is no password set. But when setting it through the cli, it does work.

I know this sounds really simple/stupid, but I've tried many things, this just doesn't seem to work for some reason.

I am using a fresh install of redis-server 6.2.6 on Ubumtu 20.04 through WSL2.

Comment From: dandeduck

When using config set requirepass in the cli, it does work. Also, it does take other configuration I set outside of the cli, like port

Comment From: dandeduck

nvm, turns out there was another random redis running in the background