Ftp not connecting to ip


 
Thread Tools Search this Thread
Operating Systems Solaris Ftp not connecting to ip
# 1  
Old 08-31-2009
Ftp not connecting to ip

If i do a ftp localhost , it works but if i do a ftp x.x.x.x (ip ) it does not work thoug all the services are running what could be the reason for this

Code:
bash-3.00# ftp localhost
Connected to localhost.
220-
bash-3.00# ftp 10.63.25.176
Connected to 10.63.25.176.
421 Service not available, remote server has closed connection
ftp> netstat -a | grep ftp | grep -v tft^C
ftp> bye

bash-3.00# netstat -a | grep ftp | grep -v tftp
      *.ftp                *.*                0      0 49152      0 LISTEN
      *.ftp                             *.*                             0      0 49152      0 LISTEN
bash-3.00# svcs ftp
STATE          STIME    FMRI
online          5:02:51 svc:/network/ftp:default

# 2  
Old 08-31-2009
Make sure that you are trying to connect with right IP address. Please paste the output of :
Code:
#ifconfig -a
#netstat -an | grep 21

Thanks,
Deepak
# 3  
Old 08-31-2009
netstat o/p is already there and i know the address its correct address for my server itself still i 'm pasting the ifconfig o/p

bash-3.00# ifconfig e1000g0
e1000g0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
inet 10.63.25.176 netmask fffffc00 broadcast 10.63.27.255
ether 0:14:4f:d3:cf:3e
bash-3.00#
# 4  
Old 08-31-2009
You may be getting blocked by wrappers which are set up by default.

Code:
$ /usr/sbin/inetadm -l ftp|grep wrappers
default  tcp_wrappers=TRUE

If that is the case you would get a closed connection. Verify you have a in.ftpd:ALL (or whatever IPs) statement in /etc/hosts.allow (it may say in.ftpd:127.0.0.1)

There should be output in /var/adm/messages that details the failed connection.
# 5  
Old 09-01-2009
# /usr/sbin/inetadm -l ftp|grep wrappers
default tcp_wrappers=FALSE
#

This started after i installed security toolkit on the system.
# 6  
Old 09-01-2009
By default, root is disabled from ftp. Did you check your /etc/ftpd/ftpusers file?
# 7  
Old 09-01-2009
You might be running into a TCP_FUSION related bug.

If that is the case then

Add the following lines at the bottom of the /etc/system file.

(Reboot to take affect.)

Code:
* Disable tcp fusion
set ip:do_tcp_fusion = 0×0

Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Connecting to a server using FTP is hanging

Hi Friends I have created a shell script to connect to a windows server. But the problem is while trying to run the script I am not getting any output. After running the script it is hanged and the prompt is not showing until if I press the ctrl+Z to break the script. I also tried using the FTP... (2 Replies)
Discussion started by: Kannannair
2 Replies

2. Solaris

Ftp: SSL_connect error while connecting from source to destination server Solaris 10

Hi Everyone, I am using solaris 10.I am facing a different problem here with tlsftp.I have intalled all steps for tlsftp and able to connect to the destination server from the source server.It worked for some days.But recently when i am connectin it is giving below error.I am... (0 Replies)
Discussion started by: muraliinfy04
0 Replies

3. Shell Programming and Scripting

Issue with Connecting to ftp server

Hi All, I have a ftp link as "ftp://ftp1.xyz.org/abc_ike/". The same thing is opening fine when I use a browser. But I am not sure how to connect to the above link from console. I used the command ftp ftp1.xyz.org The above is not working. I am not getting any error it simply stands still.... (1 Reply)
Discussion started by: machomaddy
1 Replies

4. HP-UX

[Solved] Unable to rename file in ftp server .Net:FTP perl

Hello All, I am trying to connect to ftp server and get the files. Also i need to rename the file in other ftp dir. rename method is not allowing me to rename the file in other dir. When i tried copy command by using net::FTP:FILE then perl says it is not installed. Can some body help me to... (2 Replies)
Discussion started by: krsnadasa
2 Replies

5. UNIX for Dummies Questions & Answers

Connecting through ftp command

I have a general problem of connection to my site 'noos'. My server's ftp name is 'mapage.noos.fr' and login is 'stehub', according to my hotline. I just need to fill the field Password to be connected (in software like Transmit or Dreamweaver), theorically. BUT IT DOES NOT WORK and my... (7 Replies)
Discussion started by: shub22
7 Replies

6. UNIX for Advanced & Expert Users

Trouble connecting to FTP proxy server

Hi Guys, I have trouble connecting to ftp server. My task is to connect to the proxy server and get the latest file to the local machine. It works fine when i do the same steps manually. I've been trying to do it in multiple ways but im just not able to connect. When i check the log, this is what... (4 Replies)
Discussion started by: stunnerz_84
4 Replies

7. UNIX for Advanced & Expert Users

Unix FTP Script connecting through proxy Not working

Hi All, can some one please help me to solve this issue, its urgent:confused: We need to FTP a file form our Unix server to an external client FTP location. I am trying to connect to the proxy server first and then use the below USER comment to connect to the external FTP server, and its working... (3 Replies)
Discussion started by: JesusJoseph
3 Replies

8. Shell Programming and Scripting

Connecting to other server thru ftp

Hi, Can someone help me on how to ftp to UNIX server from an another UNIX Server. I tried the follwoing but it is not working. ftp -n 10.10.0.1 quote user usrname quote pass passwd ls Though ftp is starting it is not allowing me run command..... it is asking to Thanks in... (5 Replies)
Discussion started by: EmbedUX
5 Replies

9. Shell Programming and Scripting

Automated FTP script using .netrc to multiple FTP servers

Hi all, I'm using the following script to automated ftp files to 1 ftp servers host=192.168.0.1 /usr/bin/ftp -vi >> $bkplog 2>&1 <<ftp open $host bin cd ${directory} put $files quit ftp and the .netrc file contain machine 192.168.0.1 login abc... (4 Replies)
Discussion started by: varu0612
4 Replies

10. UNIX for Advanced & Expert Users

Using FTP to check whether file is completely FTP... plz find the description below

Hi, We have some clients who will place huge files in to one of the remote server. And the shell script written in our local server to retrieve client files (using FTP) placed on one of the remote server of ours by clients. My question Is there any FTP command/script to check from my local... (1 Reply)
Discussion started by: nmsrao
1 Replies
Login or Register to Ask a Question