Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

martin

Re: Transfer Channel can't be opened: target machine actively refused it.

That's IP connectivity problem. We cannot help you with that.

Can they at least provide a log file for their successful attempt for a comparison?
FriverTech

Transfer Channel can't be opened: target machine actively refused it.

Hello,

I've been trying to connect to an FTP site and keep getting the above error code. Here is the complete log for details:

--------------------------------------------------------------------------
WinSCP Version 5.5.4 (Build 4433) (OS 6.3.9600 - Windows 8.1 Enterprise)
Configuration: HKEY_CURRENT_USER\Software\Martin Prikryl\WinSCP 2\
Working directory: C:\Program Files (x86)\WinSCP
Process ID: 4880
Command-line: "C:\Program Files (x86)\WinSCP\WinSCP.exe"
Time zone: Current: GMT-5, Standard: GMT-5 (Eastern Standard Time), DST: GMT-4 (Eastern Daylight Time), DST Start: 3/8/2015, DST End: 11/1/2015
Login time: Tuesday, December 29, 2015 10:55:07 AM
--------------------------------------------------------------------------
Session name: FR1980@ftp.aimbase.com (Modified site)
Host name: ftp.aimbase.com (Port: 21)
User name: FR1980 (Password: Yes, Key file: No)
Tunnel: No
Transfer Protocol: FTP
Ping type: C, Ping interval: 30 sec; Timeout: 15 sec
Proxy: none
Send buffer: 262144
UTF: 2
FTP: FTPS: Explicit TLS; Passive: Yes [Force IP: A]; MLSD: A [List all: A]
Session reuse: Yes
TLS/SSL versions: SSLv2-TLSv1.2
Local directory: default, Remote directory: home, Update: Yes, Cache: Yes
Cache directory changes: Yes, Permanent: Yes
DST mode: 1; Timezone offset: 0h 0m
--------------------------------------------------------------------------
Connecting to ftp.aimbase.com ...
Connected with ftp.aimbase.com, negotiating TLS connection...
220 Microsoft FTP Service
AUTH TLS
234 AUTH command ok. Expecting TLS Negotiation.
Verifying certificate for "" with fingerprint a5:32:70:63:c9:72:ad:85:2f:7e:18:83:71:e7:7e:79:f4:aa:41:45
Certificate common name "*.aimbase.com" matches hostname
Using TLSv1.2, cipher TLSv1/SSLv3: DHE-RSA-AES256-GCM-SHA384, 2048 bit RSA
TLS connection established. Waiting for welcome message...
USER FR1980
331 Password required
PASS **********
230 User logged in.
SYST
215 Windows_NT
FEAT
211-Extended features supported:
LANG EN*
UTF8
AUTH TLS;TLS-C;SSL;TLS-P;
PBSZ
PROT C;P;
CCC
HOST
SIZE
MDTM
REST STREAM
211 END
OPTS UTF8 ON
200 OPTS UTF8 command successful - UTF8 encoding now ON.
PBSZ 0
200 PBSZ command successful.
PROT P
200 PROT command successful.
Connected
--------------------------------------------------------------------------
Using FTP protocol.
Doing startup conversation with host.
PWD
257 "/" is current directory.
Getting current directory name.
Retrieving directory listing...
TYPE A
200 Type set to A.
PASV
227 Entering Passive Mode (74,118,41,16,20,126).
LIST -a
150 Opening ASCII mode data connection.
Transfer channel can't be opened. Reason: No connection could be made because the target machine actively refused it.
Could not retrieve directory listing
TYPE A
550 Data channel timed out.
LIST with -a failed, will try pure LIST
200 Type set to A.
Retrieving directory listing...
TYPE A
200 Type set to A.
PASV
227 Entering Passive Mode (74,118,41,16,20,127).
LIST
150 Opening ASCII mode data connection.
Transfer channel can't be opened. Reason: No connection could be made because the target machine actively refused it.
Could not retrieve directory listing
TYPE A
550 Data channel timed out.
(ECommand) Error listing directory '/'.
Transfer channel can't be opened. Reason: No connection could be made because the target machine actively refused it.
Could not retrieve directory listing
Data channel timed out.
Startup conversation with host finished.
200 Type set to A.
TYPE A
200 Type set to A.
Retrieving directory listing...
TYPE A
200 Type set to A.
PASV
227 Entering Passive Mode (74,118,41,16,20,128).
LIST
150 Opening ASCII mode data connection.
Transfer channel can't be opened. Reason: No connection could be made because the target machine actively refused it.
Could not retrieve directory listing
TYPE I
550 Data channel timed out.
200 Type set to I.
TYPE I
200 Type set to I.
PWD
257 "/" is current directory.

I was told to use version 5.5.4 because it was the latest known working version for their server. They (IT department hosting the ftp server) can connect from outside their network, but I am unable to. Any ideas? Thanks!