PDA

View Full Version : Data Socket Error: Connection refused


karpath
02-15-2005, 12:29 PM
hi, here is my problem.

* FlashFXP [3.0.2], build [1045], [ ]registered, [X]unregistered, [ ]pirated
* OS [X] WinXP, [ ] Win2K, [ ] Win98, [ ] WinME, [ ] Other
* Running behind NAT/router [X] Yes & Model [freebox], [ ] No, [ ] Not sure
* Running firewall [X] Yes, Name [Outpost], Ver. [2.5.375], or [ ] No
* Running Antivirus [X] Yes, Name [kaspersy] or [ ] No
* Network [X] xDSL, [ ] CABLE, [ ] Dail-Up, [ ] Other

additional info if related
* FTP server(s) name [Serv-U], version [don't know]


[R] Connecting to test -> IP=x.x.x.x PORT=4899
[R] Connected to test
[R] Connected. Negotiating SSL session..
[R] SSL negotiation successful...
[R] SSL encrypted session using cipher AES128-SHA (128 bits)
[R] 220-microsoft-ds.

[R] PBSZ 0
[R] 200 PBSZ command OK. Protection buffer size set to 0.
[R] USER xxxxxx
[R] 331 User name okay, need password.
[R] PASS (hidden)
[R] 230 User logged in, proceed.
[R] SYST
[R] 215 CPU Intel 1.8 GHz RaM 3 Go.
[R] FEAT
[R] 211-Extension supported
[R] AUTH TLS
[R] SSCN
[R] PBSZ
[R] PROT
[R] CCC
[R] CLNT
[R] MDTM
[R] MDTM YYYYMMDDHHMMSS[+-TZ];filename
[R] SIZE
[R] SITE PSWD;EXEC;SET;INDEX;ZONE;CHMOD;MSG
[R] REST STREAM
[R] XCRC filename;start;end
[R] MODE Z
[R] 211 End
[R] CLNT FlashFXP 3.0.2.1045
[R] 200 Noted.
[R] PWD
[R] 257 "/f:/" is current directory.
[R] TYPE A
[R] 200 Type set to A.
[R] MODE Z
[R] 200 MODE Z ok.
[R] PROT P
[R] 200 PROT command OK. Using private data connection.
[R] PASV
[R] 227 Entering Passive Mode (x,x,x,x,11,53)
[R] Opening data connection IP: x.x.x.x PORT: 2869
[R] Data Socket Error: Connection refused
[R] List Error
[R] PASV
[R] 227 Entering Passive Mode (x,x,x,x,11,54)
[R] Opening data connection IP: x.x.x.x PORT: 2870
[R] Data Socket Error: Connection refused
[R] List Error


i tried both active an passive mode
i tried with and without firewall
my computer is on dmz so i guess router is not the problem
serv-u seems to be well configured for passive mode and a friend don't have problem on it.

you probably notice that i'm connecting first to port 4899 then 2869 and 2870, it's probably source of my problem but i don't know how to fix it


If you need screenshot or anything else just ask :)

MxxCon
02-15-2005, 06:04 PM
Originally posted by karpath
[R] PASV
[R] 227 Entering Passive Mode (x,x,x,x,11,53)
[R] Opening data connection IP: x.x.x.x PORT: 2869
[R] Data Socket Error: Connection refusedthis x.x.x.x ip, is it the same as the one you used to connect to that site or some other ip?

you probably notice that i'm connecting first to port 4899 then 2869 and 2870, it's probably source of my problem but i don't know how to fix itport 4899 is control connection port, this is port to which you initially connect and send commands. other ports are data connection ports, these ports are used to transmit actual files data/dirlist. this is normal ftp behavior

karpath
02-15-2005, 07:08 PM
strictly same ip.

thank anyway

MxxCon
02-15-2005, 07:57 PM
can you show status log when you connect with PASV disabled?

karpath
02-16-2005, 07:43 AM
Originally posted by MxxCon
can you show status log when you connect with PASV disabled?

i found my mistake :D
i forgot to use "force active mode to use this ip" so it was my lan ip that use in active mode.
i was pasting my log when i realized it.

thank MxxCon for your help :)