IIS
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsSystem AdministrationIIS

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old July 15th, 2010, 10:18 AM
jpwilk jpwilk is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2010
Posts: 2 jpwilk User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 14 m 13 sec
Reputation Power: 0
FTP and Winxp firewall problems

Hi all,
I'm a beginner to ftp. I set up an ftp server following instructions on my old Winxp SP2 machine to enable family to have access to wedding and vacation photos (there are a lot of them!).
Everything worked great until recently where they said that they couldn't get access. They are usually using Firefox and just type in the ftp address.They now get a "425 Can't open data connection" error.
The machine has Windows firewall running. If I turn off the firewall then everybody can access the site.
I downloaded FileZilla ftp client and tried connecting using that but got the same error when it tried to get a listing.
It is set up to use a Passive connection. If I uncheck that and check Active instead I can connect even with the firewall on.

In Winxps firewall under Exceptions I see two entries for FTP Server and FTP Data with port numbers 21 and 20 and ftp checked.
Can anyone help?

Jeff

Reply With Quote
  #2  
Old July 15th, 2010, 01:50 PM
Doug G Doug G is offline
Grumpier Old Moderator
Dev Shed God 19th Plane (14000 - 14499 posts)
 
Join Date: Jun 2003
Posts: 14,237 Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level) 
Time spent in forums: 1 Month 4 Weeks 14 h 43 m 55 sec
Reputation Power: 4445
PASV ftp may have additional firewall settings necessary. Also review your FTP server settings, when I run a linux ftp server behind a router I have to make an edit in the ftp configuration file or else PASV mode provides the wrong IP to the ftp client.
__________________
======
Doug G
======
It is a truism of American politics that no man who can win an election deserves to. --Trevanian, from the novel Shibumi

Reply With Quote
  #3  
Old July 15th, 2010, 05:43 PM
jpwilk jpwilk is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2010
Posts: 2 jpwilk User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 14 m 13 sec
Reputation Power: 0
Quote:
Originally Posted by Doug G
PASV ftp may have additional firewall settings necessary. Also review your FTP server settings, when I run a linux ftp server behind a router I have to make an edit in the ftp configuration file or else PASV mode provides the wrong IP to the ftp client.


It seems to have the right ip address as it connects.
Here is the log file for FileZilla -

Status: Connecting to 70.44.41.222:21...
Status: Connection established, waiting for welcome message...
Response: 220 Microsoft FTP Service
Command: USER anonymous
Response: 331 Anonymous access allowed, send identity (e-mail name) as password.
Command: PASS **************
Response: 230 Anonymous user logged in.
Command: SYST
Response: 215 Windows_NT
Command: FEAT
Response: 500 'FEAT': command not understood
Status: Connected
Status: Retrieving directory listing...
Command: PWD
Response: 257 "/" is current directory.
Command: TYPE I
Response: 200 Type set to I.
Command: PASV
Response: 227 Entering Passive Mode (70,44,41,222,9,133).
Command: LIST
Response: 425 Can't open data connection.
Error: Failed to retrieve directory listing

Looks to be looking for port 2437.
Does the server tell it which port to connect to?
If so, I presume I need to make Exceptions for a range of ports?

Reply With Quote
  #4  
Old July 16th, 2010, 04:49 AM
Doug G Doug G is offline
Grumpier Old Moderator
Dev Shed God 19th Plane (14000 - 14499 posts)
 
Join Date: Jun 2003
Posts: 14,237 Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level) 
Time spent in forums: 1 Month 4 Weeks 14 h 43 m 55 sec
Reputation Power: 4445
Quote:
Response: 227 Entering Passive Mode (70,44,41,222,9,133).
The two numbers after the IP identify the port. Google should find you the formula

I'm not sure you need to open ports in the firewall, but if you have a router you probably need to forward a range of ports through the router to the server.

There's a lot I don't know about IIS FTP though, never used it myself. On my linux ftp serverm, I configured pasv ports to use a range of only 100 (a low-traffic site) and ended up having to forward a range 50000 to 50100.

Anyway, I don't know for sure that any of this is applicable to your particular problem, there could be something else that affected your ftp server.

Reply With Quote
  #5  
Old July 18th, 2010, 09:12 PM
Portal88's Avatar
Portal88 Portal88 is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2010
Posts: 85 Portal88 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 Day 7 h 44 m 42 sec
Reputation Power: 0
Quote:
Originally Posted by jpwilk
Command: PASV
Response: 227 Entering Passive Mode (70,44,41,222,9,133).
Command: LIST
Response: 425 Can't open data connection.
Error: Failed to retrieve directory listing



please make sure you use ACTIVE mode. You'll see your FTP can work now.

Good luck

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationIIS > FTP and Winxp firewall problems

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap