Uploaded image for project: 'Traffic Server'
  1. Traffic Server
  2. TS-2945

Balancer plugin forward to other port than 80

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 5.2.0
    • Plugins
    • None

    Description

      The balancer plugin can't load-balance on others ports than 80.

      In documentation of the plugin, there is nothing about how to load-balance on others ports.
      Syntax in remap.config :
      map http://foo.com http://foo.com @plugin=balancer.so @pparam=--policy=hash,url @pparam=one.bar.com @pparam=two.bar.com

      I obviously try this :
      map http://foo.com http://foo.com @plugin=balancer.so @pparam=--policy=hash,url @pparam=one.bar.com:8080 @pparam=two.bar.com:8080

      But ATS continues to hit on port 80 on my web server and in error.log I get this :
      status 502 (Connect Error <Connection refused/111>) for 'http://two.bar.com:8080/'

      Attachments

        Activity

          People

            jamespeach James Peach
            titotix Thibault Marquand
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: