Operating System - HP-UX
1826332 Members
3512 Online
109692 Solutions
New Discussion

FTP Transfers not working

 
SOLVED
Go to solution
John Demeny
Advisor

FTP Transfers not working

remote user trying to download/upload files from Win98 to HP-UX. FTP login successful, but transfer fails. Messages in Syslog.log

refused PORT 0,1097 from [network address]
refused PORT 0,1098 from [network address]
refused PORT 0,1099 from [network address]
refused PORT 0,1100 from [network address]

Is HP refusing the port, or is the Win98 refusing the port? Which end has the problem?
5 REPLIES 5
Mark Grant
Honored Contributor
Solution

Re: FTP Transfers not working

Windows is refusing the port. When you make an ftp connection, the daemon will create a new connection back to the source machine to actually carry out the transfer.
Never preceed any demonstration with anything more predictive than "watch this"
Zeev Schultz
Honored Contributor

Re: FTP Transfers not working

A short discussion on the problem from wu-ftpd people:

http://www.landfield.com/wu-ftpd/mail-archive/wuftpd-questions/2001/Mar/0243.html

To see what ftp server you use on hp-ux :
"grep ftp /etc/inetd.conf" or (if self daemon) and running : ps -ef | grep ftp .

Basically, I think its about ftp connection through a firewall or else server with NAT.Is it your case also?

Zeev
So computers don't think yet. At least not chess computers. - Seymour Cray
John Demeny
Advisor

Re: FTP Transfers not working

Is most likely the guy has a firewall. The other beta tester has no problem with xfer.
I was just wondering which way the error code was pointing.
Zeev Schultz
Honored Contributor

Re: FTP Transfers not working

hmmm...
tried using passive mode in ftp client on windows? If you read my prev. post , most probably your win client sends out port it would like to use in data connection (not control) but server rejects (for some reason)
In case of passive mode client would ask server
for its ip instead of suggesting own.
So computers don't think yet. At least not chess computers. - Seymour Cray
John Demeny
Advisor

Re: FTP Transfers not working

Here's the deal.
FTP client is behind a router, so there is NAT. If he sends PORT command, HP syslog says port rejected. At client end, all firewall/port blocking is turned off.

If client attempts PASV connection, HP sends its LAN internal IP in the PORT command, so no connection can be made. I tried to get around this by setting Data Winsock to same IP as command Winsock, rather than the IP that returns in the PORT command, but then connection is never made and times out. Sits at "227 Entering Passive Mode (a1,a2,a3,a4,p1,p2)".