(Migrated) [Rafed Ramzi] ASK::Changing Port of load-balancer and plain http

(This message has been automatically imported from the retired mailing list)

Dear Zato,

this is the web-admin log :

i think i mistype the last message i sent to you,
i want to change the lb-port not the lb-agent port so the lb can listen
to port 80 and also the plain http gonna work on port 80,
currently the port 80 is being unused by any other application

  • no, i change it from ./load-blancer/config/repo/zato.config
    and then i restarted the zato with ./zato-qs-restart,sh

Thank You,

On Sat, Feb 7, 2015 at 2:58 AM, Dariusz Suchojad dsuch@zato.io wrote:

On 06/02/15 20:51, Dariusz Suchojad wrote:

By default the agent is on port 20151.

What is in the web-admin.log file?

Sorry, one more question, before changing the agent’s port in web-admin,
did you:

  • Set the new port in ./load-balancer/config/repo/lb-agent.conf
  • zato stop/start load-balancer


This is needed before changing the agent’s port in web-admin.

Dariusz Suchojad

ESB, SOA, REST, APIs and cloud integrations in Python

On 07/02/15 07:18, Rafed Ramzi wrote:

  • no, i change it from ./load-blancer/config/repo/zato.config
    and then i restarted the zato with ./zato-qs-restart,sh

In the log you sent in, there is this entry:

Starting frontend front_http_plain: cannot bind socket

You are starting Zato as user zato and that user cannot bind to port 80.

Don’t start Zato as root either - add an iptables rule to redirect from
port 80 to the one the load-balancer is on.