Solved

open port in solaris for ftp

Posted on 2009-04-06
6
873 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
VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

 
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

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

Let's say you need to move the data of a file system from one partition to another. This generally involves dismounting the file system, backing it up to tapes, and restoring it to a new partition. You may also copy the file system from one place to…
I have been running these systems for a few years now and I am just very happy with them.   I just wanted to share the manual that I have created for upgrades and other things.  Oooh yes! FreeBSD makes me happy (as a server), no maintenance and I al…
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.

810 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