On attempting to set a reverse proxy service to TCP port 22:
# set load-balancing reverse-proxy service forgejo port 22
I get the following error message:
# commit "TCP" port "22" is used by another service [[load-balancing reverse-proxy]] failed
This behaviour is defined in this part of the code.
# netstat -tulpn | grep :22
Shows that on the IP address specified in the load balancer service, there is no SSH listening.
Seems like either:
- An issue with the logical check if a port is already used
- Missing permissions for the check to bind on port 22
Thanks you for resolving this issue. This blocks my current project from moving forward.