In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-04 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
Ubuntu version:
Root@ubuntunanjing:/home/itgo# uname-a
Linux ubuntunanjing 4.15.0-58-generic # 64~16.04.1-Ubuntu SMP Wed Aug 7 14:10:35 UTC 2019 x86 "64 GNU/Linux
Vsftpd version:
Version: 3.0.3-3ubuntu2
Phenomenon:
1 using the ftp graphical client interface, you can connect to the server, but always report directory browsing failure, resulting in unable to connect
2 using the ftp command in linux, you can connect to the server, but when you hit the command, there is no response for a long time, resulting in a connection timeout
Solution:
1 there is no problem in connecting to yourself on the server, which proves that ftp server is ok.
The firewall used on 2 ubuntu, ufw, has turned on port 21, but it still doesn't work.
3 therefore, modify the / etc/vsfptd.conf configuration file:
Modify:
Connect_from_port_20=YES
Newly added:
Pasv_enable=YES
Pasv_min_port=30000
Pasv_max_port=30999
Restart the vsftpd service
4 modify ufw firewall:
Ufw allow proto tcp from any to any port 30000:30999
Ufw reload
Solve the problem!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.