当前位置:网站首页>[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 .
边栏推荐
- 2022 gas examination question bank and online simulation examination
- Internet winter, how to spend three months to make a comeback
- 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
- 2022 G2 power station boiler stoker examination question bank and G2 power station boiler stoker simulation examination question bank
- The design points of voice dialogue system and the importance of multi round dialogue
- JS rotation chart
- Talk about testdeploy
- 2022 a special equipment related management (elevator) simulation test and a special equipment related management (elevator) certificate examination
- Codeworks round 449 (Div. 1) C. Kodori tree template
- 【硬十宝典目录】——转载自“硬件十万个为什么”(持续更新中~~)
猜你喜欢
Offline installation of Wireshark 2.6.10
Odeint et GPU
神经网络-使用Sequential搭建神经网络
Tencent has five years of testing experience. It came to the interview to ask for 30K, and saw the so-called software testing ceiling
C -- array
神经网络-最大池化的使用
Simple implementation of slf4j
Strategic suggestions and future development trend of global and Chinese vibration isolator market investment report 2022 Edition
Dataloader的使用
Registration of P cylinder filling examination in 2022 and analysis of P cylinder filling
随机推荐
LeetCode_66(加一)
JS rotation chart
无器械健身
神经网络的基本骨架-nn.Moudle的使用
RuntimeError: mean(): input dtype should be either floating point or complex dtypes.Got Long instead
Leecode records the number of good segmentation of 1525 strings
Strategic suggestions and future development trend of global and Chinese vibration isolator market investment report 2022 Edition
解决qiankun中子应用外链文件无法获取
OdeInt与GPU
Pytest automated testing - compare robotframework framework
Measurement of quadrature axis and direct axis inductance of three-phase permanent magnet synchronous motor
2022 t elevator repair question bank and simulation test
Applications and features of VR online exhibition
Why is Hong Kong server most suitable for overseas website construction
C -- array
神经网络-最大池化的使用
【硬十宝典】——1.【基础知识】电源的分类
LM small programmable controller software (based on CoDeSys) note 20: PLC controls stepping motor through driver
[pat (basic level) practice] - [simple simulation] 1064 friends
Sorting out 49 reports of knowledge map industry conference | AI sees the future with wisdom