Linux forum

General discussion

FTP Connection error

by Simke / July 19, 2004 12:55 PM PDT

G'day. I tried to connect to my Web Server(remote) using ftp but received the following error messages:

LOCAL -> Connecting to (sinaran.net*****.com).
LOCAL -> Connected to (sinaran.net*****.com) -> IP: 204.92.xxx.xxx PORT: 21.
LOCAL -> Socket connected waiting for login sequence.
REMOTE -> Ftp server ready.
COMMAND -> USER xxxxxxx
REMOTE -> User xxxxxxx okay, need password.
COMMAND -> PASS **********
REMOTE -> You are user #17 of 350 simultaneous users allowed.
REMOTE ->
REMOTE -> Restricted user logged in.
COMMAND -> SYST
REMOTE -> UNIX Type: L8
COMMAND -> REST 100
REMOTE -> Will attempt to restart at position 100.
COMMAND -> REST 0
REMOTE -> Will attempt to restart at position 0.
COMMAND -> PWD
REMOTE -> "/" is cwd.
COMMAND -> TYPE A
REMOTE -> Type okay.
COMMAND -> PORT 192,168,xxx,xxx,4,176
REMOTE -> PORT command successful.
LOCAL -> Opening data connection IP: 192.168.xxx.xxx PORT: 1200.
COMMAND -> LIST -a
ERROR -> Cannot connect to 218.208.xxx.xxx:50243 - Connection refused.
ERROR -> Connection closed.

Where 218.208.xxx.xxx is my PPPoE IP Address. My Internet gateway server is RedHat 9 while the client is Win98 PC. If I connect directly from the server(RedHat), there is no problem.

Thank you in advance for your help.

Regards,
Sim.

Discussion is locked
You are posting a reply to: FTP Connection error
The posting of advertisements, profanity, or personal attacks is prohibited. Please refer to our CNET Forums policies for details. All submitted content is subject to our Terms of Use.
Track this discussion and email me when there are updates

If you're asking for technical help, please be sure to include all your system info, including operating system, model number, and any other specifics related to the problem. Also please exercise your best judgment when posting in the forums--revealing personal information such as your e-mail address, telephone number, and address is not recommended.

You are reporting the following post: FTP Connection error
This post has been flagged and will be reviewed by our staff. Thank you for helping us maintain CNET's great community.
Sorry, there was a problem flagging this post. Please try again now or at a later time.
If you believe this post is offensive or violates the CNET Forums' Usage policies, you can report it below (this will not automatically remove the post). Once reported, our moderators will be notified and the post will be reviewed.
Collapse -
Re: FTP Connection error
by R. Proffitt Forum moderator / July 20, 2004 12:10 AM PDT
In reply to: FTP Connection error

The only clue I see is "Restricted user logged in." Maybe it booted you on the list command?

Or if this is new behaviour, a common thing for people to do is close off all but known ports. That port 50243 is a likely one to be closed.

Bob

Collapse -
Re: FTP Connection error
by Simke / July 20, 2004 1:21 PM PDT

G'day Bob. What I noticed was that when I used my Gateway Server (RedHat 9) to ftp, it connected at port 219.95.xxx.xxx:30xxx when I issued ls command & the connection was OK. Whereas, ftp with my Win98 client, it connected at port 219.95.xxx.xxx:50xxx & when I issued ls command, it said connection refused. Any idea?
Thanks.

Regards,
Sim.

Collapse -
Re: FTP Connection error
by R. Proffitt Forum moderator / July 20, 2004 10:15 PM PDT

I noted my idea about closed ports. I can't explain why people install a firewall and then complain that ports are closed and software doesn't work. It's a mystery why they don't get the connection that the firewall blocked the ports.

Bob

Collapse -
Re: FTP Connection error
by Simke / July 21, 2004 10:36 AM PDT

Thanks Bob. Actually, I was told that Win98's native ftp does not support passive ftp. Thus, when I used IE with the passive ftp support on, it worked. It had nothing to do with my firewall or iptables settings.

Regards,
Sim.

Collapse -
Besides firewalls.
by R. Proffitt Forum moderator / July 20, 2004 11:50 PM PDT

Did you try the usual

SET PASV

???

Popular Forums
icon
Computer Newbies 10,686 discussions
icon
Computer Help 54,365 discussions
icon
Laptops 21,181 discussions
icon
Networking & Wireless 16,313 discussions
icon
Phones 17,137 discussions
icon
Security 31,287 discussions
icon
TVs & Home Theaters 22,101 discussions
icon
Windows 7 8,164 discussions
icon
Windows 10 2,657 discussions

FALL TV PREMIERES

Your favorite shows are back!

Don’t miss your dramas, sitcoms and reality shows. Find out when and where they’re airing!