Microsoft KB Archive/163285

= FTP Service Does Not Pick Up Port Change =

Article ID: 163285

Article Last Modified on 6/22/2005

-

APPLIES TO


 * Microsoft Internet Information Server 2.0
 * Microsoft Internet Information Server 3.0

-



This article was previously published under Q163285



We strongly recommend that all users upgrade to Microsoft Internet Information Services (IIS) version 6.0 running on Microsoft Windows Server 2003. IIS 6.0 significantly increases Web infrastructure security. For more information about IIS security-related topics, visit the following Microsoft Web site:

http://www.microsoft.com/technet/security/prodtech/IIS.mspx



SYMPTOMS
When you change the port for the FTP server in the FTP properties of the Internet Service Manager, the clients still connect on the old port and cannot connect on the new port.



CAUSE
The Services file, used by TCP to assign ports, is not properly updated to show the new port. This file is used to set both the server and client port settings, and it overrides settings in the registry pertaining to IP ports.



RESOLUTION
To configure the FTP server for a different port, do the following:


 * 1) Using Internet Service Manager, set the FTP properties to the desired port.
 * 2) Apply the changes and stop the service.
 * 3) Open the file Services (located in the \System32\Drivers\Etc directory.
 * 4) Find the line ftp 21/tcp, and change it to reflect the new port.
 * 5) Save the file, then run the file Services.exe located in the \System32 directory.
 * 6) Restart the FTP service in Internet Service Manager.

Keywords: kbother kbprb KB163285

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.