当前位置:网站首页>[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 .
边栏推荐
- Simple implementation of slf4j
- 【硬十宝典】——1.【基础知识】电源的分类
- pytorch神经网络搭建 模板
- Why is Hong Kong server most suitable for overseas website construction
- Codeforces Round #721 (Div. 2)B1. Palindrome Game (easy version)B2. Palindrome game (hard version)
- Overview of the construction details of Meizhou veterinary laboratory
- 神经网络-非线性激活
- RDF query language SPARQL
- Pytorch(二) —— 激活函数、损失函数及其梯度
- All in all, the low code still needs to solve these four problems
猜你喜欢

2022危险化学品生产单位安全生产管理人员题库及答案

Pytorch(四) —— 可视化工具 Visdom

扩展-Fragment

LM小型可编程控制器软件(基于CoDeSys)笔记二十:plc通过驱动器控制步进电机

Applications and features of VR online exhibition

Dede collection plug-in does not need to write rules

Grey correlation cases and codes

【硬十宝典】——1.【基础知识】电源的分类

2022年G1工业锅炉司炉特种作业证考试题库及在线模拟考试

2022.2.7-2.13 AI industry weekly (issue 84): family responsibilities
随机推荐
LM小型可编程控制器软件(基于CoDeSys)笔记二十:plc通过驱动器控制步进电机
Execution failed for task ‘:app:processDebugResources‘. > A failure occurred while executing com. and
Daily question - line 10
[ue4] event distribution mechanism of reflective event distributor and active call event mechanism
Tencent has five years of testing experience. It came to the interview to ask for 30K, and saw the so-called software testing ceiling
Introduction to JVM stack and heap
MySQL winter vacation self-study 2022 12 (5)
最长递增子序列及最优解、动物总重量问题
Pytorch(二) —— 激活函数、损失函数及其梯度
Ten wastes of software research and development: the other side of research and development efficiency
Collect the annual summary of laws, regulations, policies and plans related to trusted computing of large market points (national, ministerial, provincial and municipal)
2022 question bank and answers for safety production management personnel of hazardous chemical production units
2022 gas examination question bank and online simulation examination
Cmake selecting compilers and setting compiler options
RDF query language SPARQL
Odeint et GPU
Question bank and answers for chemical automation control instrument operation certificate examination in 2022
2022年煤气考试题库及在线模拟考试
Strategic suggestions and future development trend of global and Chinese vibration isolator market investment report 2022 Edition
2022 polymerization process test questions and simulation test