Operating System - HP-UX
1819519 Members
2849 Online
109603 Solutions
New Discussion юеВ

ftp to public ftp site problem

 
Brian Lee_4
Regular Advisor

ftp to public ftp site problem

I can ftp from one server to another one in same subnet.
However, it doesn't work when I tried to do ftp to ftp site in public.
I asked network guy if ftp port is disabled in firewall but he said that outgoing ftp is open.
I can ftp to the same ftp site from other servers in the same subnet.

# ftp ftp.sprintspectrum.com
ftp: connect: Connection timed out

Please help me out.
brian lee
6 REPLIES 6
baiju_3
Esteemed Contributor

Re: ftp to public ftp site problem

Hi Lee,

Check Your /etc/inetd.conf File , make sure that you have entry like this. If not add this entry and do #inetd -c .

Make suer /etc/services ftp is uncommented .


ftp stream tcp nowait root /usr/lbin/ftpd ftpd -l -P



thx,
bl.
Good things Just Got better (Plz,not stolen from advertisement -:) )
Brian Lee_4
Regular Advisor

Re: ftp to public ftp site problem

There is no problem with ftp configuration in /etc/inetd.conf.
I already checked all of ftp related configurations.
brian lee
Brian Lee_4
Regular Advisor

Re: ftp to public ftp site problem

There is no problem with ftp configuration in /etc/inetd.conf.
When I ftp to other servers in the same network, it is working fine.
brian lee
Jeff Schussele
Honored Contributor

Re: ftp to public ftp site problem

Hi Brian,

Have the firewall guy insure that both the ftp data port 20/tcp *and* the ftp control port 21/tcp are open bidrectionally. I suspect that only 20/tcp is open.
You can test by telnetting to the server using the specific port:

telnet hostname.com 20
telnet hostname.com 21

If you get connections on both then they're open. If you don't they're closed.

HTH,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
Ivan Ferreira
Honored Contributor

Re: ftp to public ftp site problem

Try to ftp to another server on the public Internet like ftp.hp.com.

The error:

ftp: connect: Connection timed out

may be a problem with the ftp server that you want to connect, it may be down.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Sivakumar TS
Honored Contributor

Re: ftp to public ftp site problem

Dear Brian,

Check whether ths DNS and the geteway has been configured properly in this problamatic machine,

try to ping ftp.sprintspectrum.com

as well as you can do a

#traceroute ftp.sprintspectrum.com

If DNS name resolution is the problem, u can try to ping using the IP address ( use
#nslookup ftp.sprintspectrum.com in some other machine which works and get the IP Addrss)

With reagrds,

Siva.
Nothing is Impossible !