Operating System - HP-UX
1824846 Members
3776 Online
109674 Solutions
New Discussion юеВ

Re: FTP connection refused

 
Wamaitha
Frequent Advisor

FTP connection refused

hello, trying to ftp a file from hp-ux server to my desktop (xp) getting the following error:
ftp: connect: Connection refused
looked through forum dud not see anything.
ftp is enabled in the /etc/inetd.conf file.
thank you in advance
9 REPLIES 9
Deoncia Grayson_1
Honored Contributor

Re: FTP connection refused

Did you also check in /etc/services on your hpux server and made sure that ftp was not commented out? Did you try pinging your workstation from the hp server? How are you connecting to the hp server? Are there any firewalls in place between the two?

Just a few questions to help troubleshoot the issue...
If no one ever took risks, Michelangelo would have painted the Sistine floor. -Neil Simon

Re: FTP connection refused

Hi,

Can u do ftp from other machines. If check /var/adm/inetd.sec for your desktop ip has been prevented to do ftp to the server or not.

Regards,
Sunil
Your imagination is the preview of your life's coming attractions
Dave La Mar
Honored Contributor

Re: FTP connection refused

My first guess would be that the ftp service is not active on one machine or the other.

Since you state "trying to ftp a file from hp-ux server to my desktop (xp)" I would think that your xp machine is not running a stack that supports ftp traffic in.

Best of luck.

Regards,

dl
"I'm not dumb. I just have a command of thoroughly useless information."
John Waller
Esteemed Contributor

Re: FTP connection refused

I don't believe xp by default has an ftp server, run the ftp command from your xp system and get he file from the HP server.
Wamaitha
Frequent Advisor

Re: FTP connection refused

there is no firewall and i can ping the pc from the server and the same results on server side. check the /etc/services ftp is not commented.

Re: FTP connection refused

hi Wamaitha,

Let us get clarification now, I believe most of out has a confusion in ur question.

What exactly are u trying to do ,

Connecting to an HP UX FTP server from a windows Xp client or from HPUX server, u are trying connect to the windows XP machine via ftp.

How about other mahines and servers in the same network, are they able to perform ftp to the HP UX server. If so, then there can be possiblity with /var/adm/inetd.sec file.

Regards,
Sunil
Your imagination is the preview of your life's coming attractions
Wamaitha
Frequent Advisor

Re: FTP connection refused

sorry for any confusion that i may have created. I am trying to ftp a file from the hpux server to my desktop.thank you
Dave La Mar
Honored Contributor

Re: FTP connection refused

As others and I have stated, the service you have running on xp is not a FTP Server, thus your connection refused message.

Hang in there.

-dl
"I'm not dumb. I just have a command of thoroughly useless information."
Bill Hassell
Honored Contributor

Re: FTP connection refused

Since you are running FTP on your WinXP machine, the ftp server is your HP-UX box. The default setup for HP-UX is to have ftpd running and it is enabled in the /etc/inetd.conf file. If it is running (use the command: UNIX95=1 ps -fC ftpd), then check the file /var/adm/inetd.sec to see is there is a deny ftp statement. If not, the problem is networking, specifically routers and firewalls. Is your PC connected to the same subnet or is it in another building, or are you connecting over the Internet? ftp service is normally denied outside corporate networks thus preventing your PC from ftp'ing to any machine.


Bill Hassell, sysadmin