LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-11-2003, 01:06 PM   #1
linuxboy69
Member
 
Registered: Oct 2003
Distribution: Redhat 9
Posts: 138

Rep: Reputation: 15
ws-ftp client error


I have a ftp server behind a load balancing firewall. When I have the ftp server infront of the firewall then I don't have any problems connecting to it from a work station. When I have the ftp server behind the firewall I get this error:

connection refused; the server would not accept an FTP connection

I know the connection from the client is getting to the ftp server behind the firewall as I can see it when I am listening from the ftp server on port 21.
Is it possible that it is trying to connect via some other method that is not getting through the firewall that is not on port 21.

Here is the whole printout of the transaction between the client and the server.

Finding Host ftp.server.com ...
Connecting to <ip address>:21
Connected to <ip address>:21, Waiting for Server Response
220 hostname FTP server (Version wu-2.6.1-20) ready.
Host type (1): Automatic detect
USER ftp_user
331 Password required for ftp_user.
PASS (hidden)
230 User ftp_user logged in.
SYST
215 UNIX Type: L8
Host type (2): UNIX (standard)
FEAT
500 'FEAT': command not understood.
PWD
257 "/home/ftp_user" is current directory.
TYPE A
200 Type set to A.
PORT 10,10,0,5,4,79
502 Illegal PORT Command
Port failed 502 Illegal PORT Command
PASV
227 Entering Passive Mode (10,10,1,9,4,242)
connecting data channel to <ftp internal ip address>:1266
Substituting connection address <ip address> for private address <ftp intrenal ip address> from PASV
connection refused; the server would not accept an FTP connection.
 
Old 12-11-2003, 04:57 PM   #2
linuxboy69
Member
 
Registered: Oct 2003
Distribution: Redhat 9
Posts: 138

Original Poster
Rep: Reputation: 15
I figured it out. It connects on port 21 and it connects on a non-private port.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Bonding:Error:Found a client with no channel in the client hash table niravdani Linux - Networking 2 08-19-2013 07:31 AM
Using ftp client Martin Strand Linux - Newbie 6 04-04-2005 05:33 PM
Bonding:Error:Found a client with no channel in the client hash table niravdani Red Hat 1 03-10-2005 07:13 AM
ipchains, ftp from client to non-ftp ports atari303 Linux - Networking 2 11-08-2002 02:43 AM
ftp client reports error saavik Linux - Networking 0 05-22-2002 01:38 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:55 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration