I am wondering what ports can / should be closed down on a windows webserver 2008. Port 80 of course not, and 3389 not, too, because I need a remote desktop connection.
netstat told me the server is listening on following ports:
TCP 0.0.0.0:80 0.0.0.0:0
TCP 0.0.0.0:135 0.0.0.0:0
TCP 0.0.0.0:445 0.0.0.0:0
TCP 0.0.0.0:1311 0.0.0.0:0
TCP 0.0.0.0:3389 0.0.0.0:0
TCP 0.0.0.0:49152 0.0.0.0:0
TCP 0.0.0.0:49153 0.0.0.0:0
TCP 0.0.0.0:49154 0.0.0.0:0
TCP 0.0.0.0:49155 0.0.0.0:0
TCP 0.0.0.0:49156 0.0.0.0:0
TCP 0.0.0.0:49160 0.0.0.0:0
TCP xxx.xxx.xxx.xxx:139 0.0.0.0:0
TCP xxx.xxx.xxx.xxx:139 0.0.0.0:0
TCP [::]:80 [::]:0
TCP [::]:135 [::]:0
TCP [::]:445 [::]:0
TCP [::]:1311 [::]:0
TCP [::]:3389 [::]:0
TCP [::]:49152 [::]:0
TCP [::]:49153 [::]:0
TCP [::]:49154 [::]:0
TCP [::]:49155 [::]:0
TCP [::]:49156 [::]:0
TCP [::]:49160 [::]:0
Anything that must not be active?
EDIT: Some clarifications:
What I want is a public webserver serving http (no https) requests and having remote desktop access to it. It would be no mail / exchange or intranet server.