当前位置:网站首页>[FTP] the solution to "227 entering passive mode" during FTP connection
[FTP] the solution to "227 entering passive mode" during FTP connection
2022-07-01 04:43:00 【Jiangtaixiaobai】
FTP Appears when connecting “227 Entering Passive Mode” The solution is simple , Just close the client's PASV The way , Force its use PORT To access the server .
FTP Two working modes of service :
•port The way ( Active mode ), Connection process : Client to server FTP port ( The default is 21) Send a connection request , Server accepts connection , Set up a command link . When data needs to be transmitted , The client uses... On the command link PORT The command tells the server :“ I opened it. ***X port , You come to connect me ”. So the server from 20 Port to client ***X Port send connection request , Establish a data link to transmit data .
•pasv The way ( Passive mode ), Connection process : Client to server FTP port ( The default is 21) Send a connection request , Server accepts connection , Set up a command link . When data needs to be transmitted , Server on command link PASV The command tells the client :“ I opened it. ***X port , You come to connect me ”. So client to server ***X Port send connection request , Build a data link To transmit data over the Internet .
Because of FTP Conduct TCP/IP Screening , Only specific ports are allowed to be connected by clients , So it can't be used PASV The way . Found the reason , The solution is simple , Just close the client's PASV The way , Force its use PORT To access the server .
Client login FTP After the server , use passive Command to close the client's PASV The way , as follows :
ftp> passive
Passive mode off.Execute this command again to enable PASV Pattern .
边栏推荐
- Codeforces Round #721 (Div. 2)B1. Palindrome Game (easy version)B2. Palindrome game (hard version)
- Shell analysis server log command collection
- LM small programmable controller software (based on CoDeSys) note 19: errors do not match the profile of the target
- 离线安装wireshark2.6.10
- Common UNIX Operation and maintenance commands of shell
- OdeInt與GPU
- 解决qiankun中子应用外链文件无法获取
- 【硬十宝典】——2.【基础知识】开关电源各种拓扑结构的特点
- 如何看待智慧城市建设中的改变和机遇?
- JS image path conversion Base64 format
猜你喜欢

STM32扩展板 温度传感器和温湿度传感器的使用

OdeInt與GPU

神经网络的基本骨架-nn.Moudle的使用

Dual contractual learning: text classification via label aware data augmentation reading notes
![AssertionError assert I.ndim == 4 and I.shape[1] == 3](/img/b1/0109bb0f893eb4c8915df36c100907.png)
AssertionError assert I.ndim == 4 and I.shape[1] == 3

pytorch 卷积操作

Maixll dock quick start

VIM简易使用教程

Dual Contrastive Learning: Text Classification via Label-Aware Data Augmentation 阅读笔记

2022年煤气考试题库及在线模拟考试
随机推荐
JS rotation chart
Leecode question brushing record 1332 delete palindrome subsequence
Shell之分析服务器日志命令集锦
Daily question - line 10
Why is Internet thinking not suitable for AI products?
Leecode record 1351 negative numbers in statistical ordered matrix
2022年T电梯修理题库及模拟考试
How to view the changes and opportunities in the construction of smart cities?
LeetCode_58(最后一个单词的长度)
I also gave you the MySQL interview questions of Boda factory. If you need to come in and take your own
Kodori tree board
Dede collection plug-in does not need to write rules
LeetCode_35(搜索插入位置)
1. Mobile terminal touch screen event
Basic exercise of test questions hexadecimal to decimal
The design points of voice dialogue system and the importance of multi round dialogue
The junior college students were angry for 32 days, four rounds of interviews, five hours of soul torture, and won Ali's offer with tears
尺取法:有效三角形的个数
Tencent has five years of testing experience. It came to the interview to ask for 30K, and saw the so-called software testing ceiling
How to do the performance pressure test of "Health Code"