Solved

open port in solaris for ftp

Posted on 2009-04-06
6
867 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
Comment Utility
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 76

Assisted Solution

by:arnold
arnold earned 167 total points
Comment Utility
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
Comment Utility
it could be a firewall denying your connection.
0
Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

 
LVL 22

Expert Comment

by:blu
Comment Utility
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
Comment Utility
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
Comment Utility
not that much satisfactory
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

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…
FreeBSD on EC2 FreeBSD (https://www.freebsd.org) is a robust Unix-like operating system that has been around for many years. FreeBSD is available on Amazon EC2 through Amazon Machine Images (AMIs) provided by FreeBSD developer and security office…
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.:
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

763 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

6 Experts available now in Live!

Get 1:1 Help Now