vsftp端口怎么改?

muxinpp 2003-08-22 12:23:12
rt
...全文
154 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
fierygnu 2003-08-22
  • 打赏
  • 举报
回复
vsftpd的FAQ里就有:
Q) Help! Can I change the port that vsftpd runs on?
A1) Yes. If you are running vsftpd in standalone mode, use the "listen_port"
directive in vsftpd.conf.
A2) Yes. If you are running vsftpd from an inetd or xinetd program, this
becomes an inetd or xinetd problem. You must change the inetd or xinetd
configuration files (perhaps /etc/inetd.conf or /etc/xinetd.d/vsftpd)
A2就是把inetd.conf里的监听端口改一下,比如:
21 stream tcp nowait root /usr/sbin/in.ftpd in.ftpd
改成
8888 stream tcp nowait root /usr/sbin/in.ftpd in.ftpd
就成了在8888端口监听了。

muxinpp 2003-08-22
  • 打赏
  • 举报
回复
up

23,120

社区成员

发帖
与我相关
我的任务
社区描述
Linux/Unix社区 应用程序开发区
社区管理员
  • 应用程序开发区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧