Hello there, I'm a new user of traffic server. I have a server having network 
interface like this
 
/sbin/ifconfig -a
eth0      Link encap:Ethernet  HWaddr 00:15:17:9E:F9:B8  
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
          Base address:0x3020 Memory:b8820000-b8840000 
eth1      Link encap:Ethernet  HWaddr 00:15:17:9E:F9:B9  
          inet addr:10.161.29.89  Bcast:10.161.29.127  Mask:255.255.255.128
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:550248719 errors:0 dropped:0 overruns:0 frame:0
          TX packets:909757737 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:323265851447 (308290.3 Mb)  TX bytes:1169575972530 
(1115394.5 Mb)
          Base address:0x3000 Memory:b8800000-b8820000 
 
I modified ../etc/trafficserver/records.config and add 2 lines

LOCAL proxy.local.incoming_ip_to_bind STRING 10.161.29.89
CONFIG proxy.config.cluster.ethernet_interface STRING eth1
 
after TS starts up, I notice it's listening on 4 port like this
 
netstat -tnlp | grep traff
tcp        0      0 10.161.29.89:8080       0.0.0.0:*               LISTEN      
31464/traffic_manag
 
tcp        0      0 0.0.0.0:8083            0.0.0.0:*               LISTEN      
31464/traffic_manag
 
tcp        0      0 10.161.29.89:8084       0.0.0.0:*               LISTEN      
31474/traffic_serve

tcp        0      0 0.0.0.0:8088            0.0.0.0:*               LISTEN      
31464/traffic_manag
 
 
For some reason I'd like TS not to listen on ip 0.0.0.0. How can I set traffic 
manager to bind on specific ip (10.161.29.89:8083/8088) instead of 0.0.0.0 ?


      

Reply via email to