Operating System - HP-UX
1851055 Members
3026 Online
104056 Solutions
New Discussion

How to FTP from specified interface?

 
Maxim Yakimenko
Super Advisor

How to FTP from specified interface?

Hi, collegues

Server is cluster node. On his physical interface lan0 there are his own IP and virtual cluster IP (interface lan0:1), also on server there is interface for cluster heartbeat. When I try to ftp to another server is says "connection refused". When I telnet to it on 21 port it opens connection. I suspect that reason of this problem is the way of interface selection by FTP-client - it standard ftp tool, HP-UX 11.23. Any suggestions?
5 REPLIES 5
Steven Schweda
Honored Contributor

Re: How to FTP from specified interface?

"connection refused" normally means that you
can talk to the other system, but that the
requested server (here, FTP) is not available
there. Can _any_ system (including itself)
get to the FTP server on that system?
skt_skt
Honored Contributor

Re: How to FTP from specified interface?

could you post the output of following from the cluster server

"telnet ftpserver 21"

and "netstat -an|grep LISTEN|grep .21" from the target/ftp server
Maxim Yakimenko
Super Advisor

Re: How to FTP from specified interface?

Thank you for your replies. I have found what's wrong. Due to one reason I need to start ftp server on that machine on port differ than 21. And I forget it. Deeper investigation helped :)
Maxim Yakimenko
Super Advisor

Re: How to FTP from specified interface?

-
Steven Schweda
Honored Contributor

Re: How to FTP from specified interface?

> [...] the
> requested server (here, FTP) is not available
> there. [...]

Make that "not available there on the port
requested." (Everything's complicated.)