paddler
paddler copied to clipboard
Balancer not listening in configured port
Looks like balancer is using the default value for the reserverproxy-port parameter even though I configured a different value in the command line.
I started the balancer with this command, configuring port 8080 and not using the '=' symbol, as explained in #24:
paddler balancer --management-port 8085 --reverseproxy-port 8080
But it starts showing these DEBUG messages:
2024-10-12T17:41:48.360+0200 [DEBUG] paddler.Balancer: rewrite-host-header: enabled=false
2024-10-12T17:41:48.361+0200 [DEBUG] paddler.Balancer.reverseproxy: listen: host=127.0.0.1:8086
2024-10-12T17:41:48.361+0200 [DEBUG] paddler.Balancer.management: listen: host=127.0.0.1:8085
2024-10-12T17:41:48.361+0200 [DEBUG] paddler.Balancer.management: dashboard: enabled=false
2024-10-12T17:41:48.426+0200 [DEBUG] paddler.Balancer: registering target: host=127.0.0.1:8081
2024-10-12T17:41:48.430+0200 [DEBUG] paddler.Balancer: registering target: host=127.0.0.1:8083
2024-10-12T17:41:49.334+0200 [DEBUG] paddler.Balancer: registering target: host=127.0.0.1:8082
And the balancer is NOT reachable in port 8080, but in the default port, 8086.