Describe the bug
Redis ships with this snippet of the config:
# bind * -::* # like the default, all available interfaces
But if you uncomment that so that the config has:
bind * -::* # like the default, all available interfaces
Then the redis server will fail to start without an obvious reason. The log will say something vauge like this:
Warning: Could not create server TCP listening socket #:6379
I spent an hour chasing this down, the config file will not parse the comment after the ip address its binding. So what you need to do is just enter the line like this:
bind * -::*
Comment From: sundb
@gparemsky good catch, @oranagra should we support trailing comments, or modify the position of comments in redis.conf to avoid to be misused?
Comment From: oranagra
would be nice to support them, if there are no major complications. i imagine it could pose a challenge for CONFIG REWRITE.
Comment From: sundb
@gparemsky do you wanna make a PR to implement it? thx.