profptd外网无法连接,关闭iptables也不行
端口只有proftpd在占用# lsof -i:21
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
proftpd 13662 nobody 0uIPv4 554998 0t0TCP *:ftp (LISTEN)
启动proftpd也没有提示异常
# service proftpd start
Starting proftpd daemon: proftpdserverp61911407160003 proftpd: processing configuration directory '/usr/local/proftpd/etc/vhost'
使用proftpd -d9 -n启动就会已下提示
serverp61911407160003 proftpd 10.6.5.123: Failed binding to 0.0.0.0, port 21: Address already in use
serverp61911407160003 proftpd 10.6.5.123: Check the ServerType directive to ensure you are configured correctly.
serverp61911407160003 proftpd 10.6.5.123: Unable to start proftpd; check logs for more details
求高人指教啊,卡在这个地方好几天了,郁闷死了 端口已经被占用了或已经启动,再启动时没法启动的
连不上看一下iptables -L -n,看一下是什么网络环境,是否还有其他限制
回复 2# 的帖子
Chain INPUT (policy ACCEPT)target prot opt source destination
ACCEPT tcp--0.0.0.0/0 0.0.0.0/0 tcp dpt:22
ACCEPT all--127.0.0.1 127.0.0.1
ACCEPT tcp--0.0.0.0/0 0.0.0.0/0 tcp dpt:80
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
ACCEPT tcp--0.0.0.0/0 0.0.0.0/0 tcp spt:22 state ESTABLISHED
ACCEPT all--127.0.0.1 127.0.0.1
ACCEPT tcp--0.0.0.0/0 0.0.0.0/0 tcp spt:80 state ESTABLISHED 用iptables的话把20 21端口和20000到30000加入
不用的话把iptables清空规则
页:
[1]