My status

My backup memory

Thứ Ba, 13 tháng 12, 2011

Open port for FileZillar - Windows OS

Setting up FileZilla Server with Windows Firewall

If you are having problems with setting up FileZilla Server to run behind Windows Firewall (specifically, it fails on "List" and the client receives a "Failed to receive directory listing" error), you must add the FileZilla Server application to Windows Firewall's Exceptions list. To do this, follow these steps:
  1. Open Windows Firewall under Control Panel.
  2. If using Vista, click "Change Settings"
  3. Select the "Exceptions" tab.
  4. Click "Add program..."
  5. Do NOT select "FileZilla Server Interface" from the list, instead click on "Browse..."
  6. Locate the directory you installed FileZilla Server to (normally "C:\Program Files\FileZilla Server\")
  7. Double click or select "FileZilla server.exe" and press open (Once again, NOT "FileZilla Server Interface.exe")
  8. Select "FileZilla server.exe" from the list and click "Ok"
  9. Verify that "FileZilla server.exe" is added to the exceptions list and that it has a check mark in the box next to it
  10. Press "Ok" to close the window
Passive mode should now work. If you are still having problems connecting (from another computer or outside the network), check your router settings or try to add the port number in the Windows Firewall settings located in the Exceptions tab.
See the Microsoft kb article 931130 about running FileZilla with the "Routing and Remote Access" or the "Application Layer Gateway" service enabled. http://support.microsoft.com/kb/931130
(Xem bên dưới)
Lưu ý W2K8 Web Server không có key mô tả như trong  KB931130
-----------------

Error message when you use an FTP client to download a large file from an FTP server: "Connection closed by remote host"

When you use an FTP client to download a large file from an FTP server, you receive an error message that resembles the following:
Connection closed by remote host
This problem occurs if the following conditions are true:
  • The Application Layer Gateway service is running on the FTP server.
  • The Routing and Remote Access service is running on the FTP server.

CAUSE

This problem occurs because the Routing and Remote Access service and the Application Layer Gateway service use the Lpnat.sys driver to create a time-out value that is 60 seconds for TCP port mappings. However, the original time-out value for TCP port mappings is 24 hours.

WORKAROUND

To work around this problem, use one of the following methods.

Method 1

Stop the Application Layer Gateway service if you do not have to use the service.

Method 2

Warning Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems might require that you reinstall the operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk.

Change a registry value to affect the behavior of Application Layer Gateway service on the FTP Server. To do this, follow these steps:
  1. Click Start, click Run, type Regedit, and then click OK.
  2. Locate, and then click the following registry subkey:
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ALG\ISV\{6E590D61-F6BC-4dad-AC21-7DC40D304059}
  3. In the results pane, double-click PreferExternalManifest.
  4. In the Value data box, type Disable, and then click OK.
  5. On the File menu, click Exit to close Registry Editor.
After you change the registry value, the Application Layer Gateway service does not make port mappings for the FTP Server.

Không có nhận xét nào:

Đăng nhận xét