Ftp – No FTP login prompt windows 2012

ftpiis-8windows-server-2012windows-server-2012-r2

I've just finished installing windows 2012 fresh. I setup the ftp service as I have in the past. Now, however, when I go to a command prompt on another machine and type

FTP my.server.com

It says "connected" but no login prompt is presented and after a minute or so it says "Connection closed by remote host."

I am not sure what I missed in the setup. I turned off the firewall to try, same results.

Can anyone help here?

Best Answer

The issue I found was that a section was missing from the application.config file stored at C:\Windows\System32\inetsrv\config\ After adding the line in, the FTP server started prompting for logins.

<sectionGroup name="system.ftpServer">
<section name="log" allowDefinition="AppHostOnly" overrideModeDefault="Deny" />
<section name="serverRuntime" allowDefinition="AppHostOnly" overrideModeDefault="Deny" />
<section name="firewallSupport" allowDefinition="AppHostOnly" overrideModeDefault="Deny" />
<section name="caching" allowDefinition="AppHostOnly" overrideModeDefault="Deny" />
<section name="providerDefinitions" allowDefinition="AppHostOnly" overrideModeDefault="Deny" />
<sectionGroup name="security">
    <section name="ipSecurity" overrideModeDefault="Deny" />
    <section name="requestFiltering" overrideModeDefault="Deny" />
    <section name="authorization" overrideModeDefault="Deny" />

    <!-- the line below was missing -->
    <section name="authentication" overrideModeDefault="Deny" />
</sectionGroup>