This server is the user name password, port, for non-standard port using LEAPFTP software connection, normal can upload download, but the VB programming environment, after get the PASV IP and port, winsock2 connection, always tip failure, could you tell me why,
(17:12:15) connected to the 1.1.1.1:123
[17:12:15] has to connect to the server, is waiting for a response...
[17:12:15] 220 Welcome to blah FTP service.
(17:12:15) to open the link is successful, then input user name: HLJ
[17:12:15] 331 both Please specify the password.
(17:12:15) enter the user name is successful, then enter password: * * * * * * *
[17:12:15] 230 Login successful.
[17:12:15] login successful
[17:12:15] 257 "/"
[17:12:15] listed directory success!
[17:12:18] if 227 Passive Mode (12,17,16,21,186,24).
[17:12:18] 6 Winsock2 data connection: 12.17.16.21 47640
'6 is winsock2 state that is connection
[17:12:23] 425 Failed to establish the connection.
'after 5 seconds will prompt connection failure
[17:12:48] 10060 try to connect to suspend
CodePudding user response:
Command with LEAPFTP identical, that is, to the winsock2. Connect, a hard, just can't get Winsock2_ConnectCodePudding user response:
What is LEAPFTP on system do? Firewalls are directly closed, in addition to the standard interface is related, whether winsock2 local port to reset? Network IPCodePudding user response:
I found the reason, at present normal, may be PASV to return to the first four period of Intranet IP, so even death can't do it