FTP Service Does Not Detect Port Change (167055)
The information in this article applies to:
- Microsoft Internet Information Server 2.0
This article was previously published under Q167055 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: 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 reflect 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 FTP ports.
WORKAROUND
To configure the FTP server for a different port, do the following:
- Using Internet Service Manager, set the FTP properties to the
desired port.
- Apply the changes and stop the service.
- Open the Services file (located in the %winnt%\system32\
drivers\etc directory.
- Find the following line and change it to reflect the new port
number:
ftp 21/tcp
- Save the file, then run the Services.exe file located in the
\system32 directory.
- Restart the FTP service in Internet Service Manager.
Modification Type: | Minor | Last Reviewed: | 6/23/2005 |
---|
Keywords: | kbinterop kbprb KB167055 |
---|
|