Solved

FTP connection

Posted on 2006-07-14
10
211 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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
Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

 

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
 
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

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Windows 8 in a W2K Domain 7 596
VBScript not processed at Windows 8.1 logon 2 8,066
Software to report on NTFS folder permissions? 2 502
Windows  Active Directory  Quesiton 8 136
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…
We asked our MSP customer base what their favorite tools were and how they help them serve clients. We focused our questions on favorite tools in the following categories: >PSA tools >RMM tools >Alert management tools >Communication tools and Mo…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…

751 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