Passive FTP on Windows Server 2008 R2 using the IIS7 FTP-ServerPassive ftp on Server 2008Passive ftp on Server 2008IIS 7.5 on Windows Server 2008 R2 refusing to create PASSIVE MODE FTP connectionsPassive mode for FileZilla FTP isn't workingWindows Server 2003 Blocking Outgoing FTP Passive ModeFTP server timeouts on passive, I can only use activeWhy does Filezilla try to switch to passive mode on ports that are outside the range of my FTP server?Running passive FTP in Azure Virtual Machine with vsftpd-linuxFTP passive mode with limited port range?Ports for FTP passive modeIIS 8.5 FTP - “501 Server cannot accept argument” in response to PORT command
Can a planet still function with a damaged moon?
What replaces x86 intrinsics for C when Apple ditches Intel CPUs for their own chips?
Two (probably) equal real numbers which are not proved to be equal?
How does weapons training transfer to empty hand?
Is it a good idea to copy a trader when investing?
Pre-1993 comic in which Wolverine's claws were turned to rubber?
Thawing Glaciers return to hand interaction
Rusty Chain and back cassette – Replace or Repair?
How do carbureted and fuel injected engines compare in high altitude?
Narcissistic cube asks who are we?
What is the status of the three crises in the history of mathematics?
Employee is self-centered and affects the team negatively
how to find out if there's files in a folder and exit accordingly (in KSH)
I might have messed up in the 'Future Work' section of my thesis
Equation of the line that lies tangent to both circles
Gift for mentor after his thesis defense?
How come mathematicians published in Annals of Eugenics?
How can Sam Wilson fulfill his future role?
Why does the electron wavefunction not collapse within atoms at room temperature in gas, liquids or solids due to decoherence?
Row vectors and column vectors (Mathematica vs Matlab)
Has everyone forgotten about wildfire?
Does a surprised creature obey the 1st level spell Command?
How do I minimise waste on a flight?
How is Arya still alive?
Passive FTP on Windows Server 2008 R2 using the IIS7 FTP-Server
Passive ftp on Server 2008Passive ftp on Server 2008IIS 7.5 on Windows Server 2008 R2 refusing to create PASSIVE MODE FTP connectionsPassive mode for FileZilla FTP isn't workingWindows Server 2003 Blocking Outgoing FTP Passive ModeFTP server timeouts on passive, I can only use activeWhy does Filezilla try to switch to passive mode on ports that are outside the range of my FTP server?Running passive FTP in Azure Virtual Machine with vsftpd-linuxFTP passive mode with limited port range?Ports for FTP passive modeIIS 8.5 FTP - “501 Server cannot accept argument” in response to PORT command
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;
During the last few days I have been setting up a Windows Server 2008 R2 in a VMware. I installed the standard FTP-Server on it by using the Webserver (IIS)-role.
Everything works fine with accessing my FTP-Site with ftp://localhost
in Firefox. I can also get access to it via the local IP of my Server. Actually everything works fine in my LAN.
But here's my problem:
I want to get access "from outside", using the external IP or a dyndns-URL. I have a LinkSys-Router in front of my Server, therefore I'm forwarding all the important ports.
If you may now think "this idiot has probably forgotten some ports", I must dissappoint you. It even works getting access to my Server-Website and messing around in some WebInterfaces.
The problem is my passive FTP (active works for me). I always get a timeout, when e.g. FileZilla waits for a response to the LIST
-command. The one big thing I don't get, is, why my Server sends a response to the PASV
-command, naming a port like 40918, even if I have restricted the data port range for my passive FTP ( in the IIS-Manager) to e.g. [5000-5009].
I simply don't want to open and forward all possible data ports!
And another thing is, I can't specify a static external IP address for my server, since I don't own any.
I have already tried these solutions:
- Out Of Band FTP 7 shows "Operation timed out"
- How to Configure Windows Firewall for a Passive Mode FTP Server
- ServerFault --- Passive ftp on Server 2008
--- EDIT: ---
There is one idea rising up in my mind:
When I use FileZilla to connect by passive mode I always get something like this:227 Entering Passive Mode (192,168,1,102,160,86)
According to a Rhinosof-article FZ tries to connect on port "160*256+86 = 41046", although I have restricted the data ports (as mentioned above). Could this be caused by the router, that doesn't forward out-ports directly, but uses different ones?
(--> The IP-Adress given is the local one, since I'm not able to define a static external in the IIS-Mgr)
--- EDIT 2: ---
I have had an idea about changing the dynamicportrange
via netsh interface
, but not even the examples given by the help-text itself worked. I think I'll give it up with the IIS-FTP und then use the FileZilla-Server.
Conclusion: Hello freeware, bye "costs, but simply works"-Windows * cough *.
windows-server-2008 iis-7 ftp passive
add a comment |
During the last few days I have been setting up a Windows Server 2008 R2 in a VMware. I installed the standard FTP-Server on it by using the Webserver (IIS)-role.
Everything works fine with accessing my FTP-Site with ftp://localhost
in Firefox. I can also get access to it via the local IP of my Server. Actually everything works fine in my LAN.
But here's my problem:
I want to get access "from outside", using the external IP or a dyndns-URL. I have a LinkSys-Router in front of my Server, therefore I'm forwarding all the important ports.
If you may now think "this idiot has probably forgotten some ports", I must dissappoint you. It even works getting access to my Server-Website and messing around in some WebInterfaces.
The problem is my passive FTP (active works for me). I always get a timeout, when e.g. FileZilla waits for a response to the LIST
-command. The one big thing I don't get, is, why my Server sends a response to the PASV
-command, naming a port like 40918, even if I have restricted the data port range for my passive FTP ( in the IIS-Manager) to e.g. [5000-5009].
I simply don't want to open and forward all possible data ports!
And another thing is, I can't specify a static external IP address for my server, since I don't own any.
I have already tried these solutions:
- Out Of Band FTP 7 shows "Operation timed out"
- How to Configure Windows Firewall for a Passive Mode FTP Server
- ServerFault --- Passive ftp on Server 2008
--- EDIT: ---
There is one idea rising up in my mind:
When I use FileZilla to connect by passive mode I always get something like this:227 Entering Passive Mode (192,168,1,102,160,86)
According to a Rhinosof-article FZ tries to connect on port "160*256+86 = 41046", although I have restricted the data ports (as mentioned above). Could this be caused by the router, that doesn't forward out-ports directly, but uses different ones?
(--> The IP-Adress given is the local one, since I'm not able to define a static external in the IIS-Mgr)
--- EDIT 2: ---
I have had an idea about changing the dynamicportrange
via netsh interface
, but not even the examples given by the help-text itself worked. I think I'll give it up with the IIS-FTP und then use the FileZilla-Server.
Conclusion: Hello freeware, bye "costs, but simply works"-Windows * cough *.
windows-server-2008 iis-7 ftp passive
add a comment |
During the last few days I have been setting up a Windows Server 2008 R2 in a VMware. I installed the standard FTP-Server on it by using the Webserver (IIS)-role.
Everything works fine with accessing my FTP-Site with ftp://localhost
in Firefox. I can also get access to it via the local IP of my Server. Actually everything works fine in my LAN.
But here's my problem:
I want to get access "from outside", using the external IP or a dyndns-URL. I have a LinkSys-Router in front of my Server, therefore I'm forwarding all the important ports.
If you may now think "this idiot has probably forgotten some ports", I must dissappoint you. It even works getting access to my Server-Website and messing around in some WebInterfaces.
The problem is my passive FTP (active works for me). I always get a timeout, when e.g. FileZilla waits for a response to the LIST
-command. The one big thing I don't get, is, why my Server sends a response to the PASV
-command, naming a port like 40918, even if I have restricted the data port range for my passive FTP ( in the IIS-Manager) to e.g. [5000-5009].
I simply don't want to open and forward all possible data ports!
And another thing is, I can't specify a static external IP address for my server, since I don't own any.
I have already tried these solutions:
- Out Of Band FTP 7 shows "Operation timed out"
- How to Configure Windows Firewall for a Passive Mode FTP Server
- ServerFault --- Passive ftp on Server 2008
--- EDIT: ---
There is one idea rising up in my mind:
When I use FileZilla to connect by passive mode I always get something like this:227 Entering Passive Mode (192,168,1,102,160,86)
According to a Rhinosof-article FZ tries to connect on port "160*256+86 = 41046", although I have restricted the data ports (as mentioned above). Could this be caused by the router, that doesn't forward out-ports directly, but uses different ones?
(--> The IP-Adress given is the local one, since I'm not able to define a static external in the IIS-Mgr)
--- EDIT 2: ---
I have had an idea about changing the dynamicportrange
via netsh interface
, but not even the examples given by the help-text itself worked. I think I'll give it up with the IIS-FTP und then use the FileZilla-Server.
Conclusion: Hello freeware, bye "costs, but simply works"-Windows * cough *.
windows-server-2008 iis-7 ftp passive
During the last few days I have been setting up a Windows Server 2008 R2 in a VMware. I installed the standard FTP-Server on it by using the Webserver (IIS)-role.
Everything works fine with accessing my FTP-Site with ftp://localhost
in Firefox. I can also get access to it via the local IP of my Server. Actually everything works fine in my LAN.
But here's my problem:
I want to get access "from outside", using the external IP or a dyndns-URL. I have a LinkSys-Router in front of my Server, therefore I'm forwarding all the important ports.
If you may now think "this idiot has probably forgotten some ports", I must dissappoint you. It even works getting access to my Server-Website and messing around in some WebInterfaces.
The problem is my passive FTP (active works for me). I always get a timeout, when e.g. FileZilla waits for a response to the LIST
-command. The one big thing I don't get, is, why my Server sends a response to the PASV
-command, naming a port like 40918, even if I have restricted the data port range for my passive FTP ( in the IIS-Manager) to e.g. [5000-5009].
I simply don't want to open and forward all possible data ports!
And another thing is, I can't specify a static external IP address for my server, since I don't own any.
I have already tried these solutions:
- Out Of Band FTP 7 shows "Operation timed out"
- How to Configure Windows Firewall for a Passive Mode FTP Server
- ServerFault --- Passive ftp on Server 2008
--- EDIT: ---
There is one idea rising up in my mind:
When I use FileZilla to connect by passive mode I always get something like this:227 Entering Passive Mode (192,168,1,102,160,86)
According to a Rhinosof-article FZ tries to connect on port "160*256+86 = 41046", although I have restricted the data ports (as mentioned above). Could this be caused by the router, that doesn't forward out-ports directly, but uses different ones?
(--> The IP-Adress given is the local one, since I'm not able to define a static external in the IIS-Mgr)
--- EDIT 2: ---
I have had an idea about changing the dynamicportrange
via netsh interface
, but not even the examples given by the help-text itself worked. I think I'll give it up with the IIS-FTP und then use the FileZilla-Server.
Conclusion: Hello freeware, bye "costs, but simply works"-Windows * cough *.
windows-server-2008 iis-7 ftp passive
windows-server-2008 iis-7 ftp passive
edited Apr 13 '17 at 12:14
Community♦
1
1
asked Nov 2 '12 at 20:15
Peter WildemannPeter Wildemann
11114
11114
add a comment |
add a comment |
4 Answers
4
active
oldest
votes
Changing the dynamic port range in windows will not help. The only thing it does is limit what port will be used for the client side of a socket connection.
What you need to do is limit the port range used by IIS's FTP server. There is a pretty good blog post about that on MSDN but here are the high points:
If you're using the built-in FTP server, you need to first install the "IIS 6 metabase compatibility" role service (as well as the associated scriting tools) and then use the following command to set the proper metabase property:
adsutil.vbs set /MSFTPSVC/PassivePortRange "5500-5525"
- If you're using the IIS 7.5 downloadable FTP module (the one you get from this page) then all you need it open the server's configuration editor and edit the "data channel port range" property under "FTP Firewall Support > Data Channel Port Range" in applicationHost.config.
Regardless of the above, you will still need to port forward the whole range on your NAT gateway device for external connections to work. Most descent Firewall/NAT devices have protocol helpers included for FTP that will allow them to identify the PASV command and react accordingly, but not all do (and it usually won't work if you're using non-standard port for the FTP command channel).
P.S. You should consider using a different protocol than FTP if you're behind NAT: you can't make it work without ugly - and risky - workarounds. I suggest you investigate SFTP or WebDAV.
add a comment |
Have you tried putting the FTP Server in your router's DMZ just to see if its the router that is dropping the packets? Try that.
Also, turn on the windows firewall logging (Control Panel -> Admin Tools -> Windows Firewall and Advance Security, right click "Windows Firewall and Advance Security" in the console, go to Properties, then enable Logging there for dropped packets) just to see if your computer outside the network was able to ask for the correct ports.
Alright I will immediatly try this one!
– Peter Wildemann
Nov 3 '12 at 8:23
Here is an extract from the logfile, while trying to build a passive TCP connection from outside. There are serveral of this one, or similar ones.
– Peter Wildemann
Nov 3 '12 at 9:53
2012-11-03 10:47:51 DROP TCP <router IP> <server IP> 59383 21 46 AP 139302526 1860714305 16362 - - - RECEIVE
– Peter Wildemann
Nov 3 '12 at 9:54
Hmm it looks like it is dropping on port 21. If you turn off the windows firewall service, are you able to connect? If you dont have physical access to the server becareful. In the past I have tried disabling the firewall service remotely...big mistake, locked me out of RDP lol.
– cflyer
Nov 5 '12 at 19:18
add a comment |
netsh advfirewall set global StatefulFtp enable
netsh advfirewall firewall add rule name="FTP for IIS" service=ftpsvc action=allow protocol=TCP dir=in
add a comment |
For those of you that are using a Windows server hosted using Microsoft's Azure Cloud Service, if you are using a Network Security Group, you will also need to create an inbound rule there that matches the port range that you setup inf the FTP Firewall Support section in IIS.
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "2"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f444914%2fpassive-ftp-on-windows-server-2008-r2-using-the-iis7-ftp-server%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
4 Answers
4
active
oldest
votes
4 Answers
4
active
oldest
votes
active
oldest
votes
active
oldest
votes
Changing the dynamic port range in windows will not help. The only thing it does is limit what port will be used for the client side of a socket connection.
What you need to do is limit the port range used by IIS's FTP server. There is a pretty good blog post about that on MSDN but here are the high points:
If you're using the built-in FTP server, you need to first install the "IIS 6 metabase compatibility" role service (as well as the associated scriting tools) and then use the following command to set the proper metabase property:
adsutil.vbs set /MSFTPSVC/PassivePortRange "5500-5525"
- If you're using the IIS 7.5 downloadable FTP module (the one you get from this page) then all you need it open the server's configuration editor and edit the "data channel port range" property under "FTP Firewall Support > Data Channel Port Range" in applicationHost.config.
Regardless of the above, you will still need to port forward the whole range on your NAT gateway device for external connections to work. Most descent Firewall/NAT devices have protocol helpers included for FTP that will allow them to identify the PASV command and react accordingly, but not all do (and it usually won't work if you're using non-standard port for the FTP command channel).
P.S. You should consider using a different protocol than FTP if you're behind NAT: you can't make it work without ugly - and risky - workarounds. I suggest you investigate SFTP or WebDAV.
add a comment |
Changing the dynamic port range in windows will not help. The only thing it does is limit what port will be used for the client side of a socket connection.
What you need to do is limit the port range used by IIS's FTP server. There is a pretty good blog post about that on MSDN but here are the high points:
If you're using the built-in FTP server, you need to first install the "IIS 6 metabase compatibility" role service (as well as the associated scriting tools) and then use the following command to set the proper metabase property:
adsutil.vbs set /MSFTPSVC/PassivePortRange "5500-5525"
- If you're using the IIS 7.5 downloadable FTP module (the one you get from this page) then all you need it open the server's configuration editor and edit the "data channel port range" property under "FTP Firewall Support > Data Channel Port Range" in applicationHost.config.
Regardless of the above, you will still need to port forward the whole range on your NAT gateway device for external connections to work. Most descent Firewall/NAT devices have protocol helpers included for FTP that will allow them to identify the PASV command and react accordingly, but not all do (and it usually won't work if you're using non-standard port for the FTP command channel).
P.S. You should consider using a different protocol than FTP if you're behind NAT: you can't make it work without ugly - and risky - workarounds. I suggest you investigate SFTP or WebDAV.
add a comment |
Changing the dynamic port range in windows will not help. The only thing it does is limit what port will be used for the client side of a socket connection.
What you need to do is limit the port range used by IIS's FTP server. There is a pretty good blog post about that on MSDN but here are the high points:
If you're using the built-in FTP server, you need to first install the "IIS 6 metabase compatibility" role service (as well as the associated scriting tools) and then use the following command to set the proper metabase property:
adsutil.vbs set /MSFTPSVC/PassivePortRange "5500-5525"
- If you're using the IIS 7.5 downloadable FTP module (the one you get from this page) then all you need it open the server's configuration editor and edit the "data channel port range" property under "FTP Firewall Support > Data Channel Port Range" in applicationHost.config.
Regardless of the above, you will still need to port forward the whole range on your NAT gateway device for external connections to work. Most descent Firewall/NAT devices have protocol helpers included for FTP that will allow them to identify the PASV command and react accordingly, but not all do (and it usually won't work if you're using non-standard port for the FTP command channel).
P.S. You should consider using a different protocol than FTP if you're behind NAT: you can't make it work without ugly - and risky - workarounds. I suggest you investigate SFTP or WebDAV.
Changing the dynamic port range in windows will not help. The only thing it does is limit what port will be used for the client side of a socket connection.
What you need to do is limit the port range used by IIS's FTP server. There is a pretty good blog post about that on MSDN but here are the high points:
If you're using the built-in FTP server, you need to first install the "IIS 6 metabase compatibility" role service (as well as the associated scriting tools) and then use the following command to set the proper metabase property:
adsutil.vbs set /MSFTPSVC/PassivePortRange "5500-5525"
- If you're using the IIS 7.5 downloadable FTP module (the one you get from this page) then all you need it open the server's configuration editor and edit the "data channel port range" property under "FTP Firewall Support > Data Channel Port Range" in applicationHost.config.
Regardless of the above, you will still need to port forward the whole range on your NAT gateway device for external connections to work. Most descent Firewall/NAT devices have protocol helpers included for FTP that will allow them to identify the PASV command and react accordingly, but not all do (and it usually won't work if you're using non-standard port for the FTP command channel).
P.S. You should consider using a different protocol than FTP if you're behind NAT: you can't make it work without ugly - and risky - workarounds. I suggest you investigate SFTP or WebDAV.
answered Apr 22 '13 at 9:01
StephaneStephane
5,71922145
5,71922145
add a comment |
add a comment |
Have you tried putting the FTP Server in your router's DMZ just to see if its the router that is dropping the packets? Try that.
Also, turn on the windows firewall logging (Control Panel -> Admin Tools -> Windows Firewall and Advance Security, right click "Windows Firewall and Advance Security" in the console, go to Properties, then enable Logging there for dropped packets) just to see if your computer outside the network was able to ask for the correct ports.
Alright I will immediatly try this one!
– Peter Wildemann
Nov 3 '12 at 8:23
Here is an extract from the logfile, while trying to build a passive TCP connection from outside. There are serveral of this one, or similar ones.
– Peter Wildemann
Nov 3 '12 at 9:53
2012-11-03 10:47:51 DROP TCP <router IP> <server IP> 59383 21 46 AP 139302526 1860714305 16362 - - - RECEIVE
– Peter Wildemann
Nov 3 '12 at 9:54
Hmm it looks like it is dropping on port 21. If you turn off the windows firewall service, are you able to connect? If you dont have physical access to the server becareful. In the past I have tried disabling the firewall service remotely...big mistake, locked me out of RDP lol.
– cflyer
Nov 5 '12 at 19:18
add a comment |
Have you tried putting the FTP Server in your router's DMZ just to see if its the router that is dropping the packets? Try that.
Also, turn on the windows firewall logging (Control Panel -> Admin Tools -> Windows Firewall and Advance Security, right click "Windows Firewall and Advance Security" in the console, go to Properties, then enable Logging there for dropped packets) just to see if your computer outside the network was able to ask for the correct ports.
Alright I will immediatly try this one!
– Peter Wildemann
Nov 3 '12 at 8:23
Here is an extract from the logfile, while trying to build a passive TCP connection from outside. There are serveral of this one, or similar ones.
– Peter Wildemann
Nov 3 '12 at 9:53
2012-11-03 10:47:51 DROP TCP <router IP> <server IP> 59383 21 46 AP 139302526 1860714305 16362 - - - RECEIVE
– Peter Wildemann
Nov 3 '12 at 9:54
Hmm it looks like it is dropping on port 21. If you turn off the windows firewall service, are you able to connect? If you dont have physical access to the server becareful. In the past I have tried disabling the firewall service remotely...big mistake, locked me out of RDP lol.
– cflyer
Nov 5 '12 at 19:18
add a comment |
Have you tried putting the FTP Server in your router's DMZ just to see if its the router that is dropping the packets? Try that.
Also, turn on the windows firewall logging (Control Panel -> Admin Tools -> Windows Firewall and Advance Security, right click "Windows Firewall and Advance Security" in the console, go to Properties, then enable Logging there for dropped packets) just to see if your computer outside the network was able to ask for the correct ports.
Have you tried putting the FTP Server in your router's DMZ just to see if its the router that is dropping the packets? Try that.
Also, turn on the windows firewall logging (Control Panel -> Admin Tools -> Windows Firewall and Advance Security, right click "Windows Firewall and Advance Security" in the console, go to Properties, then enable Logging there for dropped packets) just to see if your computer outside the network was able to ask for the correct ports.
edited Aug 29 '15 at 1:36
Falcon Momot
22.8k104979
22.8k104979
answered Nov 2 '12 at 21:04
cflyercflyer
1336
1336
Alright I will immediatly try this one!
– Peter Wildemann
Nov 3 '12 at 8:23
Here is an extract from the logfile, while trying to build a passive TCP connection from outside. There are serveral of this one, or similar ones.
– Peter Wildemann
Nov 3 '12 at 9:53
2012-11-03 10:47:51 DROP TCP <router IP> <server IP> 59383 21 46 AP 139302526 1860714305 16362 - - - RECEIVE
– Peter Wildemann
Nov 3 '12 at 9:54
Hmm it looks like it is dropping on port 21. If you turn off the windows firewall service, are you able to connect? If you dont have physical access to the server becareful. In the past I have tried disabling the firewall service remotely...big mistake, locked me out of RDP lol.
– cflyer
Nov 5 '12 at 19:18
add a comment |
Alright I will immediatly try this one!
– Peter Wildemann
Nov 3 '12 at 8:23
Here is an extract from the logfile, while trying to build a passive TCP connection from outside. There are serveral of this one, or similar ones.
– Peter Wildemann
Nov 3 '12 at 9:53
2012-11-03 10:47:51 DROP TCP <router IP> <server IP> 59383 21 46 AP 139302526 1860714305 16362 - - - RECEIVE
– Peter Wildemann
Nov 3 '12 at 9:54
Hmm it looks like it is dropping on port 21. If you turn off the windows firewall service, are you able to connect? If you dont have physical access to the server becareful. In the past I have tried disabling the firewall service remotely...big mistake, locked me out of RDP lol.
– cflyer
Nov 5 '12 at 19:18
Alright I will immediatly try this one!
– Peter Wildemann
Nov 3 '12 at 8:23
Alright I will immediatly try this one!
– Peter Wildemann
Nov 3 '12 at 8:23
Here is an extract from the logfile, while trying to build a passive TCP connection from outside. There are serveral of this one, or similar ones.
– Peter Wildemann
Nov 3 '12 at 9:53
Here is an extract from the logfile, while trying to build a passive TCP connection from outside. There are serveral of this one, or similar ones.
– Peter Wildemann
Nov 3 '12 at 9:53
2012-11-03 10:47:51 DROP TCP <router IP> <server IP> 59383 21 46 AP 139302526 1860714305 16362 - - - RECEIVE
– Peter Wildemann
Nov 3 '12 at 9:54
2012-11-03 10:47:51 DROP TCP <router IP> <server IP> 59383 21 46 AP 139302526 1860714305 16362 - - - RECEIVE
– Peter Wildemann
Nov 3 '12 at 9:54
Hmm it looks like it is dropping on port 21. If you turn off the windows firewall service, are you able to connect? If you dont have physical access to the server becareful. In the past I have tried disabling the firewall service remotely...big mistake, locked me out of RDP lol.
– cflyer
Nov 5 '12 at 19:18
Hmm it looks like it is dropping on port 21. If you turn off the windows firewall service, are you able to connect? If you dont have physical access to the server becareful. In the past I have tried disabling the firewall service remotely...big mistake, locked me out of RDP lol.
– cflyer
Nov 5 '12 at 19:18
add a comment |
netsh advfirewall set global StatefulFtp enable
netsh advfirewall firewall add rule name="FTP for IIS" service=ftpsvc action=allow protocol=TCP dir=in
add a comment |
netsh advfirewall set global StatefulFtp enable
netsh advfirewall firewall add rule name="FTP for IIS" service=ftpsvc action=allow protocol=TCP dir=in
add a comment |
netsh advfirewall set global StatefulFtp enable
netsh advfirewall firewall add rule name="FTP for IIS" service=ftpsvc action=allow protocol=TCP dir=in
netsh advfirewall set global StatefulFtp enable
netsh advfirewall firewall add rule name="FTP for IIS" service=ftpsvc action=allow protocol=TCP dir=in
answered Nov 2 '15 at 11:24
MugurelMugurel
7481615
7481615
add a comment |
add a comment |
For those of you that are using a Windows server hosted using Microsoft's Azure Cloud Service, if you are using a Network Security Group, you will also need to create an inbound rule there that matches the port range that you setup inf the FTP Firewall Support section in IIS.
add a comment |
For those of you that are using a Windows server hosted using Microsoft's Azure Cloud Service, if you are using a Network Security Group, you will also need to create an inbound rule there that matches the port range that you setup inf the FTP Firewall Support section in IIS.
add a comment |
For those of you that are using a Windows server hosted using Microsoft's Azure Cloud Service, if you are using a Network Security Group, you will also need to create an inbound rule there that matches the port range that you setup inf the FTP Firewall Support section in IIS.
For those of you that are using a Windows server hosted using Microsoft's Azure Cloud Service, if you are using a Network Security Group, you will also need to create an inbound rule there that matches the port range that you setup inf the FTP Firewall Support section in IIS.
answered Mar 7 '17 at 21:33
Josh BarnesJosh Barnes
1
1
add a comment |
add a comment |
Thanks for contributing an answer to Server Fault!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f444914%2fpassive-ftp-on-windows-server-2008-r2-using-the-iis7-ftp-server%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown