421 Can't create socket

Advertisement

Socko71
Donor
Joined:
Posts:
20
Location:
Indiana

421 Can't create socket

I can't connect to my production DMZ machine with WINSCP but I can through Filezilla. I included log of both am I missing a setting?

2013-07-19 15:04:27 4072 3 Status: Resolving address of WB-IISIFBEB-PRD
2013-07-19 15:04:27 4072 3 Status: Connecting to 192.168.252.14:21...
2013-07-19 15:04:27 4072 3 Status: Connection established, waiting for welcome message...
2013-07-19 15:04:27 4072 3 Response: 220-FileZilla Server version 0.9.39 beta
2013-07-19 15:04:27 4072 3 Response: 220-written by Tim Kosse (Tim.Kosse@gmx.de)
2013-07-19 15:04:27 4072 3 Response: 220 Please visit https://sourceforge.net/projects/filezilla/
2013-07-19 15:04:27 4072 3 Command: AUTH TLS
2013-07-19 15:04:27 4072 3 Response: 234 Using authentication type TLS
2013-07-19 15:04:27 4072 3 Status: Initializing TLS...
2013-07-19 15:04:27 4072 3 Status: Verifying certificate...
2013-07-19 15:04:30 4072 3 Command: USER migrprd
2013-07-19 15:04:30 4072 3 Status: TLS/SSL connection established.
2013-07-19 15:04:30 4072 3 Response: 331 Password required for migrprd
2013-07-19 15:04:30 4072 3 Command: PASS **********
2013-07-19 15:04:30 4072 3 Response: 230 Logged on
2013-07-19 15:04:30 4072 3 Command: SYST
2013-07-19 15:04:30 4072 3 Response: 215 UNIX emulated by FileZilla
2013-07-19 15:04:30 4072 3 Command: FEAT
2013-07-19 15:04:30 4072 3 Response: 211-Features:
2013-07-19 15:04:30 4072 3 Response: MDTM
2013-07-19 15:04:30 4072 3 Response: REST STREAM
2013-07-19 15:04:30 4072 3 Response: SIZE
2013-07-19 15:04:30 4072 3 Response: MLST type*;size*;modify*;
2013-07-19 15:04:30 4072 3 Response: MLSD
2013-07-19 15:04:30 4072 3 Response: AUTH SSL
2013-07-19 15:04:30 4072 3 Response: AUTH TLS
2013-07-19 15:04:30 4072 3 Response: PROT
2013-07-19 15:04:30 4072 3 Response: PBSZ
2013-07-19 15:04:30 4072 3 Response: UTF8
2013-07-19 15:04:30 4072 3 Response: CLNT
2013-07-19 15:04:30 4072 3 Response: MFMT
2013-07-19 15:04:30 4072 3 Response: 211 End
2013-07-19 15:04:30 4072 3 Command: PBSZ 0
2013-07-19 15:04:30 4072 3 Response: 200 PBSZ=0
2013-07-19 15:04:30 4072 3 Command: PROT P
2013-07-19 15:04:30 4072 3 Response: 200 Protection level set to P
2013-07-19 15:04:30 4072 3 Status: Connected
2013-07-19 15:04:30 4072 3 Status: Retrieving directory listing...
2013-07-19 15:04:30 4072 3 Command: CWD /\
2013-07-19 15:04:30 4072 3 Response: 250 CWD successful. "/" is current directory.
2013-07-19 15:04:30 4072 3 Command: PWD
2013-07-19 15:04:30 4072 3 Response: 257 "/" is current directory.
2013-07-19 15:04:30 4072 3 Command: TYPE I
2013-07-19 15:04:30 4072 3 Response: 200 Type set to I
2013-07-19 15:04:30 4072 3 Command: PORT 10,100,2,242,226,167
2013-07-19 15:04:30 4072 3 Response: 200 Port command successful
2013-07-19 15:04:30 4072 3 Command: MLSD
2013-07-19 15:04:30 4072 3 Response: 150 Opening data channel for directory list.
2013-07-19 15:04:30 4072 3 Response: 226 Transfer OK
2013-07-19 15:04:30 4072 3 Status: Directory listing successful
2013-07-19 15:04:34 4072 3 Status: Disconnected from server

WINSCP

. 2013-07-19 15:06:07.417 --------------------------------------------------------------------------
. 2013-07-19 15:06:07.417 WinSCP Version 5.1.4 (Build 3020) (OS 6.1.7600)
. 2013-07-19 15:06:07.417 Configuration: HKEY_CURRENT_USER\Software\Martin Prikryl\WinSCP 2\
. 2013-07-19 15:06:07.417 Local account: IFB\migrprd
. 2013-07-19 15:06:07.417 Working directory: D:\Application\WinSCP
. 2013-07-19 15:06:07.417 Command-line: "D:\Application\WinSCP\WinSCP.exe"
. 2013-07-19 15:06:07.417 Time zone: Current: GMT-4, Standard: GMT-5, DST: GMT-4, DST Start: 3/10/2013, DST End: 11/3/2013
. 2013-07-19 15:06:07.417 Login time: Friday, July 19, 2013 3:06:07 PM
. 2013-07-19 15:06:07.417 --------------------------------------------------------------------------
. 2013-07-19 15:06:07.417 Session name: wb-iisifbeb-prd.infarmbureau.com (Modified stored session)
. 2013-07-19 15:06:07.417 Host name: wb-iisifbeb-prd.infarmbureau.com (Port: 21)
. 2013-07-19 15:06:07.417 User name: (Password: No, Key file: No)
. 2013-07-19 15:06:07.417 Tunnel: No
. 2013-07-19 15:06:07.417 Transfer Protocol: FTP
. 2013-07-19 15:06:07.417 Ping type: C, Ping interval: 30 sec; Timeout: 15 sec
. 2013-07-19 15:06:07.417 Proxy: none
. 2013-07-19 15:06:07.417 FTP: FTPS: Explicit TLS; Passive: Yes [Force IP: A]
. 2013-07-19 15:06:07.417 Local directory: D:\Application\jenkins\scripts, Remote directory: /, Update: Yes, Cache: Yes
. 2013-07-19 15:06:07.417 Cache directory changes: Yes, Permanent: Yes
. 2013-07-19 15:06:07.417 DST mode: 1; Timezone offset: 0h 0m
. 2013-07-19 15:06:07.417 --------------------------------------------------------------------------
. 2013-07-19 15:06:07.417 Username prompt (no username provided)
. 2013-07-19 15:06:14.792 Connecting to wb-iisifbeb-prd.infarmbureau.com ...
. 2013-07-19 15:06:14.855 Connected with wb-iisifbeb-prd.infarmbureau.com, negotiating SSL connection...
< 2013-07-19 15:06:14.855 220-FileZilla Server version 0.9.39 beta
< 2013-07-19 15:06:14.855 220-written by Tim Kosse (Tim.Kosse@gmx.de)
< 2013-07-19 15:06:14.855 220 Please visit https://sourceforge.net/projects/filezilla/
> 2013-07-19 15:06:14.855 AUTH TLS
< 2013-07-19 15:06:15.902 234 Using authentication type TLS
. 2013-07-19 15:06:16.230 SSL connection established. Waiting for welcome message...
> 2013-07-19 15:06:16.230 USER migrprd
< 2013-07-19 15:06:16.230 331 Password required for migrprd
> 2013-07-19 15:06:25.011 PASS **********
< 2013-07-19 15:06:25.027 230 Logged on
> 2013-07-19 15:06:25.027 SYST
< 2013-07-19 15:06:25.027 215 UNIX emulated by FileZilla
> 2013-07-19 15:06:25.027 FEAT
< 2013-07-19 15:06:25.027 211-Features:
< 2013-07-19 15:06:25.027 MDTM
< 2013-07-19 15:06:25.027 REST STREAM
< 2013-07-19 15:06:25.027 SIZE
< 2013-07-19 15:06:25.027 MLST type*;size*;modify*;
< 2013-07-19 15:06:25.027 MLSD
< 2013-07-19 15:06:25.027 AUTH SSL
< 2013-07-19 15:06:25.027 AUTH TLS
< 2013-07-19 15:06:25.027 PROT
< 2013-07-19 15:06:25.027 PBSZ
< 2013-07-19 15:06:25.027 UTF8
< 2013-07-19 15:06:25.027 CLNT
< 2013-07-19 15:06:25.027 MFMT
< 2013-07-19 15:06:25.027 211 End
> 2013-07-19 15:06:25.027 PBSZ 0
< 2013-07-19 15:06:25.027 200 PBSZ=0
> 2013-07-19 15:06:25.027 PROT P
< 2013-07-19 15:06:25.027 200 Protection level set to P
. 2013-07-19 15:06:25.074 Connected
. 2013-07-19 15:06:25.074 --------------------------------------------------------------------------
. 2013-07-19 15:06:25.074 Using FTP protocol.
. 2013-07-19 15:06:25.074 Doing startup conversation with host.
> 2013-07-19 15:06:25.136 PWD
< 2013-07-19 15:06:25.136 257 "/" is current directory.
. 2013-07-19 15:06:25.199 Changing directory to "/".
> 2013-07-19 15:06:25.199 CWD /
< 2013-07-19 15:06:25.199 250 CWD successful. "/" is current directory.
. 2013-07-19 15:06:25.199 Getting current directory name.
> 2013-07-19 15:06:25.199 PWD
< 2013-07-19 15:06:25.199 257 "/" is current directory.
. 2013-07-19 15:06:25.449 Retrieving directory listing...
> 2013-07-19 15:06:25.449 TYPE A
< 2013-07-19 15:06:25.449 200 Type set to A
> 2013-07-19 15:06:25.449 PASV
< 2013-07-19 15:06:25.449 421 Can't create socket
. 2013-07-19 15:06:25.449 Could not retrieve directory listing
* 2013-07-19 15:06:25.574 (ECommand) Error listing directory '/'.
* 2013-07-19 15:06:25.574 Could not retrieve directory listing
* 2013-07-19 15:06:25.574 Can't create socket
. 2013-07-19 15:06:28.215 Startup conversation with host finished.
. 2013-07-19 15:06:36.309 Disconnected from server

Reply with quote

Advertisement

martin
Site Admin
martin avatar

Re: 421 Can't create socket

Socko71 wrote:

So how could you tell filezilla was active mode?
In the log, you can see Filezilla is using PORT command (active mode), while WinSCP was using PASV command (passive mode).

Reply with quote

Advertisement

You can post new topics in this forum