Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Server > FTP on Server 2008

Reply
Thread Tools Display Modes

FTP on Server 2008

 
 
Steve
Guest
Posts: n/a

 
      10-14-2009
I have one Server 2008 just ahead main ADSL router. Through port forwarding
I can access it from outside.
I have enabled ports 21 and 443 also, but cannot access to the Server.

I checked telnet server 21 and 443 from this server, but it isn't opened,
even FTP is enabled in Windows Firewall with Advanced Security.

Please help, how to open ports 21, 80 and 443 on Server 2008?


 
Reply With Quote
 
 
 
 
Andrew Morton
Guest
Posts: n/a

 
      10-14-2009
Steve wrote:
> I have one Server 2008 just ahead main ADSL router. Through port
> forwarding I can access it from outside.
> I have enabled ports 21 and 443 also, but cannot access to the Server.
>
> I checked telnet server 21 and 443 from this server, but it isn't
> opened, even FTP is enabled in Windows Firewall with Advanced
> Security.
> Please help, how to open ports 21, 80 and 443 on Server 2008?


You seem to have forgotten port 20.

This appears at first glance to be a good explanation of what's needed for
FTP:

http://slacksite.com/other/ftp.html

Andrew


 
Reply With Quote
 
Steve
Guest
Posts: n/a

 
      10-14-2009
"Andrew Morton" <> wrote in message
news:...
> Steve wrote:
>> I have one Server 2008 just ahead main ADSL router. Through port
>> forwarding I can access it from outside.
>> I have enabled ports 21 and 443 also, but cannot access to the Server.
>>
>> I checked telnet server 21 and 443 from this server, but it isn't
>> opened, even FTP is enabled in Windows Firewall with Advanced
>> Security.
>> Please help, how to open ports 21, 80 and 443 on Server 2008?

>
> You seem to have forgotten port 20.
>
> This appears at first glance to be a good explanation of what's needed for
> FTP:
>
> http://slacksite.com/other/ftp.html
>
> Andrew
>


Hm, telnet on the same server through port 21 doesn't work....?!


 
Reply With Quote
 
Tim Judd
Guest
Posts: n/a

 
      10-14-2009
Steve wrote:
> I have one Server 2008 just ahead main ADSL router. Through port forwarding
> I can access it from outside.
> I have enabled ports 21 and 443 also, but cannot access to the Server.
>
> I checked telnet server 21 and 443 from this server, but it isn't opened,
> even FTP is enabled in Windows Firewall with Advanced Security.
>
> Please help, how to open ports 21, 80 and 443 on Server 2008?
>
>


FTP is still having problems through firewalls. It's a protocol
designed before firewalls, so the concept of passing through firewalls
is foreign to it. So far, all we have are workarounds to a protocol
that doesn't naturally fit on RFC1918 addresses.

FTP uses TCP port 21 for it's "command channel" where all the commands,
status prompts and feedback are on.
FTP also uses TCP port 20 (the "data channel"), and random (ports >1024
all the way through the highest port, 65535) ports to transfer the
actual data.
Allowing 21 through only allows the command channel through. You won't
be able to transfer files. Since passive FTP lets the FTP server
connect to the client at random ports, firewalls block that. Whether
the blocking is outgoing or incoming, it's blocked.

To have successful FTP, in the protocol it was written for, the machine
has to be completely exposed on that IP. No firewall action on either end.


I haven't yet seen the .dll or .exe that serves as the ftp server (for
Active or Passive mode) to allow it through the firewalls.



Good luck.
 
Reply With Quote
 
Steve
Guest
Posts: n/a

 
      10-14-2009
"Tim Judd" <> wrote in message
news:%...
> Steve wrote:
>> I have one Server 2008 just ahead main ADSL router. Through port
>> forwarding I can access it from outside.
>> I have enabled ports 21 and 443 also, but cannot access to the Server.
>>
>> I checked telnet server 21 and 443 from this server, but it isn't opened,
>> even FTP is enabled in Windows Firewall with Advanced Security.
>>
>> Please help, how to open ports 21, 80 and 443 on Server 2008?

>
> FTP is still having problems through firewalls. It's a protocol designed
> before firewalls, so the concept of passing through firewalls is foreign
> to it. So far, all we have are workarounds to a protocol that doesn't
> naturally fit on RFC1918 addresses.
>
> FTP uses TCP port 21 for it's "command channel" where all the commands,
> status prompts and feedback are on.
> FTP also uses TCP port 20 (the "data channel"), and random (ports >1024
> all the way through the highest port, 65535) ports to transfer the actual
> data.
> Allowing 21 through only allows the command channel through. You won't be
> able to transfer files. Since passive FTP lets the FTP server connect to
> the client at random ports, firewalls block that. Whether the blocking is
> outgoing or incoming, it's blocked.
>
> To have successful FTP, in the protocol it was written for, the machine
> has to be completely exposed on that IP. No firewall action on either
> end.
>
>
> I haven't yet seen the .dll or .exe that serves as the ftp server (for
> Active or Passive mode) to allow it through the firewalls.
>
>
>
> Good luck.



FTP works very well on ISA server and through only port 21. I'll revert back
to ISA firewall and setup it again.


 
Reply With Quote
 
lemur
Guest
Posts: n/a

 
      10-14-2009

'How to configure the new Windows Server 2008 advanced firewall MM
snap-in
(http://www.windowsnetworking.com/art...C-snap-in.html

-for command prompt: C: netstat -an |find /i "listening" - -
c:'openports.txt

--
lemu

::If *ANYONE* in this forum helps you, please click o
their *REP* icon. Thanks! (the middle scale icon in the upper righ
corner)::
 
Reply With Quote
 
Steve
Guest
Posts: n/a

 
      10-14-2009

"lemur" <> wrote in message
news:...
>
> 'How to configure the new Windows Server 2008 advanced firewall MMC
> snap-in'
> (http://www.windowsnetworking.com/art...C-snap-in.html)
>
> -for command prompt: C: netstat -an |find /i "listening" - - >
> c:'openports.txt-
>
>
> --
> lemur
>
> ::If *ANYONE* in this forum helps you, please click on
> their *REP* icon. Thanks! (the middle scale icon in the upper right
> corner)::


Hi,

This is netstat:

TCP 0.0.0.0:135 0.0.0.0:0 LISTENING
TCP 0.0.0.0:445 0.0.0.0:0 LISTENING
TCP 0.0.0.0:2179 0.0.0.0:0 LISTENING
TCP 0.0.0.0:2967 0.0.0.0:0 LISTENING
TCP 0.0.0.0:3389 0.0.0.0:0 LISTENING
TCP 0.0.0.0:34571 0.0.0.0:0 LISTENING
TCP 0.0.0.0:34572 0.0.0.0:0 LISTENING
TCP 0.0.0.0:34573 0.0.0.0:0 LISTENING
TCP 0.0.0.0:49153 0.0.0.0:0 LISTENING
TCP 0.0.0.0:49154 0.0.0.0:0 LISTENING
TCP 0.0.0.0:49155 0.0.0.0:0 LISTENING
TCP 0.0.0.0:49157 0.0.0.0:0 LISTENING
TCP 0.0.0.0:49162 0.0.0.0:0 LISTENING
TCP 0.0.0.0:49166 0.0.0.0:0 LISTENING
TCP 192.168.1.6:139 0.0.0.0:0 LISTENING
TCP 192.168.16.6:139 0.0.0.0:0 LISTENING
TCP [::]:135 [::]:0 LISTENING
TCP [::]:445 [::]:0 LISTENING
TCP [::]:2179 [::]:0 LISTENING
TCP [::]:3389 [::]:0 LISTENING
TCP [::]:34571 [::]:0 LISTENING
TCP [::]:34572 [::]:0 LISTENING
TCP [::]:34573 [::]:0 LISTENING
TCP [::]:49153 [::]:0 LISTENING
TCP [::]:49154 [::]:0 LISTENING
TCP [::]:49155 [::]:0 LISTENING
TCP [::]:49157 [::]:0 LISTENING
TCP [::]:49162 [::]:0 LISTENING
TCP [::]:49166 [::]:0 LISTENING

Firewall is OFF, FTP is added as Exception... But it's not displayed on
netstat??


 
Reply With Quote
 
Dusko Savatovic
Guest
Posts: n/a

 
      10-15-2009
You did install FTP feature on the server, didn't you?

"Steve" <> wrote in message
news:...
> "lemur" <> wrote in message
> news:...
>>
>> 'How to configure the new Windows Server 2008 advanced firewall MMC
>> snap-in'
>> (http://www.windowsnetworking.com/art...C-snap-in.html)
>>
>> -for command prompt: C: netstat -an |find /i "listening" - - >
>> c:'openports.txt-
>>
>>
>> --
>> lemur
>>
>> ::If *ANYONE* in this forum helps you, please click on
>> their *REP* icon. Thanks! (the middle scale icon in the upper right
>> corner)::

>
> Hi,
>
> This is netstat:
>
> TCP 0.0.0.0:135 0.0.0.0:0 LISTENING
> TCP 0.0.0.0:445 0.0.0.0:0 LISTENING
> TCP 0.0.0.0:2179 0.0.0.0:0 LISTENING
> TCP 0.0.0.0:2967 0.0.0.0:0 LISTENING
> TCP 0.0.0.0:3389 0.0.0.0:0 LISTENING
> TCP 0.0.0.0:34571 0.0.0.0:0 LISTENING
> TCP 0.0.0.0:34572 0.0.0.0:0 LISTENING
> TCP 0.0.0.0:34573 0.0.0.0:0 LISTENING
> TCP 0.0.0.0:49153 0.0.0.0:0 LISTENING
> TCP 0.0.0.0:49154 0.0.0.0:0 LISTENING
> TCP 0.0.0.0:49155 0.0.0.0:0 LISTENING
> TCP 0.0.0.0:49157 0.0.0.0:0 LISTENING
> TCP 0.0.0.0:49162 0.0.0.0:0 LISTENING
> TCP 0.0.0.0:49166 0.0.0.0:0 LISTENING
> TCP 192.168.1.6:139 0.0.0.0:0 LISTENING
> TCP 192.168.16.6:139 0.0.0.0:0 LISTENING
> TCP [::]:135 [::]:0 LISTENING
> TCP [::]:445 [::]:0 LISTENING
> TCP [::]:2179 [::]:0 LISTENING
> TCP [::]:3389 [::]:0 LISTENING
> TCP [::]:34571 [::]:0 LISTENING
> TCP [::]:34572 [::]:0 LISTENING
> TCP [::]:34573 [::]:0 LISTENING
> TCP [::]:49153 [::]:0 LISTENING
> TCP [::]:49154 [::]:0 LISTENING
> TCP [::]:49155 [::]:0 LISTENING
> TCP [::]:49157 [::]:0 LISTENING
> TCP [::]:49162 [::]:0 LISTENING
> TCP [::]:49166 [::]:0 LISTENING
>
> Firewall is OFF, FTP is added as Exception... But it's not displayed on
> netstat??
>

 
Reply With Quote
 
Steve
Guest
Posts: n/a

 
      10-27-2009
"Dusko Savatovic" <> wrote in message
news:O9$...
> You did install FTP feature on the server, didn't you?
>


Ups! :-( :-( :-(
sorry to boring you guys



 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: Difference between Windows Server 2008 / SBS 2008 / EBS 2008 / SBS 2003 Dave Nickason [SBS MVP] Windows Small Business Server 0 05-06-2009 03:39 PM
Steps for LOB Windows 2008 x64 server for SBS 2008 Premium Install? Per Moeller-Olsen Windows Small Business Server 1 04-28-2009 12:03 AM
Re: A new member server - Windows Server 2008 + SQL Server 2008 OR Windows Server 2003 + SQL Server 2005 kj [SBS MVP] Windows Small Business Server 0 02-24-2009 03:21 PM
Re: A new member server - Windows Server 2008 + SQL Server 2008 OR Windows Server 2003 + SQL Server 2005 Larry Struckmeyer [SBS-MVP] Windows Small Business Server 0 02-24-2009 11:36 AM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59