select * from sectionselect * from sectionselect * from section JMC Research - Juan M. Casillas Web Site
Knowledge for our questions, fun for everyone!

http://www.jmcresearch.com/src/articlehelper.php?id=31
Printed at 03/05/2024 22:16:28
http://www.jmcresearch.com Knowledge for our questions, fun for everyone!
Listen address
Internal overview

Published at 18/09/2003 21:45:23
By Juan M. Casillas

Listen Address

Load Balancer have to listen in a specific address. This address is a IP,port pair. For now, Load Balancer only listen in one address, but in the future it will do it in some addresses.

To configure the Listen address, you need to include under the attachto tag the address (in the future, addresses) when Load Balancer will listen.

The configuration parameters for this tag are:

Option Description
attachto

This directive allows us to choose the listen address for Load Balancer. This tag support the following directive: (NOTE: for now, only one address is supported. This will change in the future). address

This directive configures the address (hostname,port pair) when Load Balancer will listen the client connections. Inside this tag you have to configure the host address and the port address:

  • host: inside this tag, you configure the host?s address (e.g. www.mydomain.com or in number, dot separated format: 192.168.200.1).
  • port: inside this tag, you configure the port number where the clients will connect (e.g. if you are using Load Balancer to balance HTTP traffic, you should listen in port 80).


attachto Sample

  <attachto>
        <address>
                <host>reboot</host>
                <port>8000</port>
        </address>
  </attachto>

http://www.jmcresearch.com Knowledge for our questions, fun for everyone!