Solved

open port in solaris for ftp

Posted on 2009-04-06
6
869 Views
Last Modified: 2013-12-27
I am on windows machine, I am trying to ftp some files to a diff server

i am executing ftp command in cmd.
c:> ftp a.b.c.d
Connected to a.b.c.d
Connection closed by remote host.

how can I open the port?
0
Comment
Question by:ramavenkatesa
6 Comments
 
LVL 22

Accepted Solution

by:
blu earned 167 total points
ID: 24077489
The message "Connection closed by remote host." means just that, the remote host closed the connection.  That indicates that the other host accepted the connection and then closed it. This sounds like the other host either is using something like TCP-wrappers to deny your system service, or the
FTP server is configured to deny you service, or there is a problem with the FTP server such that it is
exiting after the connection is made.

What kind of access do you have to the remoter server? Can you log on to try and diagnose the problem?
0
 
LVL 77

Assisted Solution

by:arnold
arnold earned 167 total points
ID: 24077763
On the same path as Blu, to check whether the issue is with TCP wrapper, see whether your IP resolves to a hostname, but the same hostname does not resolve to the IP.

Depending on the configuration of the server, FTP access might also be limited to certain IPs, but your current IP is not one of those.
0
 
LVL 40

Expert Comment

by:omarfarid
ID: 24081442
it could be a firewall denying your connection.
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 22

Expert Comment

by:blu
ID: 24085618
So, we have offered a number of hypothesises. You need to get back to us if you want us to help you. A
application level denial rule (ala TCP wrappers or ftp.deny), a misconfiguration of the ftp server that causes it to exit, and a firewall. If you want help on fixing the problem, you need to respond. Otherwise, I hope
those guesses help you.
0
 
LVL 2

Assisted Solution

by:Mohan Shivaiah
Mohan Shivaiah earned 166 total points
ID: 24750924
Check your in /etc/inetd.conf:
  ftp stream tcp nowait root /usr/etc/in.ftpd in.ftpd -l


Warning: it will log passwords of ordinary users. Also enable syslogd by adding:
   daemon.info      /var/adm/syslog

   to "/etc/syslog.conf".
0
 

Author Closing Comment

by:ramavenkatesa
ID: 31567026
not that much satisfactory
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Attention: This article will no longer be maintained. If you have any questions, please feel free to mail me. jgh@FreeBSD.org Please see http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-update-server/ for the updated article. It is avail…
Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap (http://www.tcpdump.org) Version 1.2 2.      Jpcap(http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/index.html) Version 0.6 Prerequisite: 1.      GCC …
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

896 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now