小编Com*_*ock的帖子

Haproxy Bind Error

你好StackOverflow,

我的haproxy似乎有一个错误,这是我尝试运行它时得到的

[ALERT] 208/051346 (5865) : Starting proxy ah1: cannot bind socket
[ALERT] 208/051346 (5865) : Starting proxy ah2: cannot bind socket
Run Code Online (Sandbox Code Playgroud)

我正在为TCP代理运行它.

这是我的配置:

#---------------------------------------------------------------------
# Example configuration for a possible web application.  See the
# full configuration options online.
#
#   http://haproxy.1wt.eu/download/1.3/doc/configuration.txt
#
#---------------------------------------------------------------------

#---------------------------------------------------------------------
# Global settings
#---------------------------------------------------------------------
    global
    log         127.0.0.1 local2 
    chroot      /var/lib/haproxy
    pidfile     /var/run/haproxy.pid
    maxconn     4000
    user        haproxy
    group       haproxy
    daemon

#---------------------------------------------------------------------
# common defaults that all the 'listen' and 'backend' sections will 
# use if …
Run Code Online (Sandbox Code Playgroud)

linux proxy tcp rhel5 haproxy

2
推荐指数
1
解决办法
1万
查看次数

标签 统计

haproxy ×1

linux ×1

proxy ×1

rhel5 ×1

tcp ×1