User tests: Successful: Unsuccessful:
Pull Request for Issue # .
Allow redis server port to be set to 0 - for some hostings strange setups
Code review or try set redis server port to 0
Global Configuration can't be successfully saved when redis server port is set to 0.
Global Configuration can be successfully saved when redis server port is set to 0.
N/A
Status | New | ⇒ | Pending |
Category | ⇒ | Administration com_config |
Its impossible for redis to listen on port 0 ! This is the wrong solution for sure!
see
This is how Joomla allows connecting to redis over a sock rather than a port. You dont need to specify the port in Joomla global config if you are connecting over a socket.
Status | Pending | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2021-11-30 10:12:41 |
Closed_By | ⇒ | wojsmol | |
Labels |
Added:
?
|
@PhilETaylor You are right, but unfortunately this behaviour is not mentioned in Joomla! Documentation.
Hmm its a reserverd port (RFC1700) and from what I found its used to be a dynamic port:
https://www.heise.de/newsticker/meldung/Port-0-hilft-beim-OS-Fingerprinting-82937.html
According to this bug report and the current code from redis it also is not intended behavior to run on port 0.
Have you confirmed that it actually works when you set the port to 0?
edit: Its also documented on the redis.conf that: