Solved

FTP connection

Posted on 2006-07-14
10
208 Views
Last Modified: 2010-04-13
I was able to connect to a PC via FTP
this had W2K and IIS.

this PC is no longer available and I setup a new PC  with W2K and IIS.

When I try to connect to this new PC  i get the below message.

"connection closed by remote host"

Any ideas ?

0
Comment
Question by:power_david_ie
10 Comments
 
LVL 4

Expert Comment

by:jcdesign4u
ID: 17107553
You have to configure the router to pass on port 21 on to the new pc if you have not configured it.
0
 
LVL 5

Expert Comment

by:NAORC
ID: 17107592
the same goes for your firewall if you have one in place (hardwareor software - it doesnt matter)
0
 
LVL 4

Expert Comment

by:mltets
ID: 17110446
Just because you installed IIS does not automatically mean that FTP was set up and started.

In your Add/Remove Programs / Windows Component / IIS click on details and make sure that FTP was selected to be installed.  Then open your IIS manager and when you click on FTP Sites (right above the Default FTP site), you should see the default ftp site showing as running and listening on port 21.

You can also check to make sure that the pc is listening for ftp by doing a netstat -a and looking for the port TCP CompName:ftp

It might look something like this:
H:\>netstat -a

Active Connections

  Proto  Local Address          Foreign Address        State
  TCP    compname:ftp               CompFQDN:0         LISTENING
  TCP    compname:22                CompFQDN:0         LISTENING
  TCP    compname:smtp              CompFQDN:0         LISTENING

Doing that will make sure that the pc is actually listening for ftp requests.  Are you testing this from another box that's local to the pc you're trying to FTP to?  Or is it remote?
0
 

Author Comment

by:power_david_ie
ID: 17120269
Hi thanks for that ,

I ran the netstat -a .

  I am getting the bewlo and a e others
  TCP    compname:smtp              CompFQDN:0         LISTENING

  However it is not listening to FTP . How can I get it to listen for FTP ?
 



0
NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

 
LVL 4

Expert Comment

by:mltets
ID: 17121570
Quick question, is it listening on port 21?  That's ftp.  From the sounds of it, it probably isn't.

Okay, that means that you have smtp (email) turned on.  On a pc, I'm not sure why you'd have that on, but that's your call.  To make sure that you've got FTP on and running check your Windows Components in the Control Panel - Add/Remove Programs.  When that comes up, click on Internet Information Services (IIS) then click on Details to show the sub programs under IIS.  Make sure that FTP is checked.  That's how it should be set up.  Let me know if it's set up or not.
good luck
mltets
(Jim)
0
 
LVL 4

Expert Comment

by:mltets
ID: 17131755
Another quick point.  NAORC is right that if you have a local software based firewall installed, it may be stopping the port as well...
0
 

Author Comment

by:power_david_ie
ID: 17137206
Oj ,

 so far I have got it so that on the LAN i can ftp and log in to other PCs.

 However the remote users who who log on through VPN can not  FTP the same PCS.

 there is only one PC that they can access via FTP through the VPN.

 There is no software firewall on on PCS

 Any other HELP.

 Dave
0
 
LVL 4

Accepted Solution

by:
mltets earned 125 total points
ID: 17137889
Okay, this is probably a firewall configuration.  What kind of firewall are you using?  You need a port redirect from the external address to the internal address of the pc that has ftp running on it.  The way to make this happen differs a lot dependent on the kind of firewall you've got.
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

NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
Some code to ensure data integrity when using macros within Excel. Also included code that helps secure your data within an Excel workbook.
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

911 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

19 Experts available now in Live!

Get 1:1 Help Now