Reputation: 1
I want to initiate redis-server on port 6379 but i got this: Could not create server TCP listening socket :6379: bind: Address already in use And here is the output of netstat -tunlp : tcp 0 0 127.0.0.1:6379 0.0.0.0: LISTEN - How to kill this process ...?
Upvotes: -1
Views: 1507
Reputation: 1
This works for me:
sudo systemctl disable redis
restart wsl
sudo systemctl start redis-server.service
Upvotes: 0
Reputation: 41
Try to restart WSL by using wsl --shutdown
and then try again.
Or maybe some windows app on your computer is using this port and is preventing Linux from getting information about this process.
Upvotes: 2