Jump to content

FTP service and Windows Firewall on Server 2003


Recommended Posts

Guest Viktor Jevdokimov
Posted

Hi all,

 

Environment:

- Windws Server 2003 R2 Standard Edition Service Pack 2

- IIS with FTP service

- Windows Firewall enabled, TCP ports 21 and 20 are enabled both on

exceptions list and on connection.

 

Problem: "Connection closed by remote host." right after user name is

entered when connecting from outside.

 

When testing locally on the server or when Windows Firewall is disabled -

everything is fine, no problems. When Firewall is enabled, connection from

outside just drops right after user name is entered.

 

IIS log file shows 421 FTP status and 121 win32 status.

 

How to configure Windows Firewall properly for FTP service to work from

outside?

 

Thanks in advance,

Viktor

  • Replies 3
  • Created
  • Last Reply
Guest Greg O
Posted

Re: FTP service and Windows Firewall on Server 2003

 

 

"Viktor Jevdokimov" <viktor@baltsoft.lt> wrote in message

news:eJIdjqfyHHA.2224@TK2MSFTNGP02.phx.gbl...

> Hi all,

>

> Environment:

> - Windws Server 2003 R2 Standard Edition Service Pack 2

> - IIS with FTP service

> - Windows Firewall enabled, TCP ports 21 and 20 are enabled both on

> exceptions list and on connection.

>

> Problem: "Connection closed by remote host." right after user name is

> entered when connecting from outside.

>

> When testing locally on the server or when Windows Firewall is disabled -

> everything is fine, no problems. When Firewall is enabled, connection from

> outside just drops right after user name is entered.

>

> IIS log file shows 421 FTP status and 121 win32 status.

>

> How to configure Windows Firewall properly for FTP service to work from

> outside?

>

> Thanks in advance,

> Viktor

>

 

You may have to run the ftp client in pasv mode:

 

http://support.microsoft.com/kb/323446

Guest Viktor Jevdokimov
Posted

Re: FTP service and Windows Firewall on Server 2003

 

Passive mode or active - no difference, since connection is closed before

asking for a password.

 

"Greg O" <none@all.com> wrote in message

news:ONjjXHgyHHA.1208@TK2MSFTNGP05.phx.gbl...

>

> "Viktor Jevdokimov" <viktor@baltsoft.lt> wrote in message

> news:eJIdjqfyHHA.2224@TK2MSFTNGP02.phx.gbl...

>> Hi all,

>>

>> Environment:

>> - Windws Server 2003 R2 Standard Edition Service Pack 2

>> - IIS with FTP service

>> - Windows Firewall enabled, TCP ports 21 and 20 are enabled both on

>> exceptions list and on connection.

>>

>> Problem: "Connection closed by remote host." right after user name is

>> entered when connecting from outside.

>>

>> When testing locally on the server or when Windows Firewall is disabled -

>> everything is fine, no problems. When Firewall is enabled, connection

>> from outside just drops right after user name is entered.

>>

>> IIS log file shows 421 FTP status and 121 win32 status.

>>

>> How to configure Windows Firewall properly for FTP service to work from

>> outside?

>>

>> Thanks in advance,

>> Viktor

>>

>

> You may have to run the ftp client in pasv mode:

>

> http://support.microsoft.com/kb/323446

>

>

>

Guest Viktor Jevdokimov
Posted

Re: FTP service and Windows Firewall on Server 2003

 

Problem solved:

 

1. Uncheck "FTP Server" in Windows Firewall Extended tab for every location

2. Add 21 port to exceptions

 

 

"Viktor Jevdokimov" <viktor@baltsoft.lt> wrote in message

news:eJIdjqfyHHA.2224@TK2MSFTNGP02.phx.gbl...

> Hi all,

>

> Environment:

> - Windws Server 2003 R2 Standard Edition Service Pack 2

> - IIS with FTP service

> - Windows Firewall enabled, TCP ports 21 and 20 are enabled both on

> exceptions list and on connection.

>

> Problem: "Connection closed by remote host." right after user name is

> entered when connecting from outside.

>

> When testing locally on the server or when Windows Firewall is disabled -

> everything is fine, no problems. When Firewall is enabled, connection from

> outside just drops right after user name is entered.

>

> IIS log file shows 421 FTP status and 121 win32 status.

>

> How to configure Windows Firewall properly for FTP service to work from

> outside?

>

> Thanks in advance,

> Viktor

>


×
×
  • Create New...