You need a minimum list of ports for security reasons.
Your ports may be :
80 - web service,
21 - ftp service
135,136,137,138,139 - for NT (sharing, RPC, IPC$ and so on)
A list of such ports is on \WINNT\System32\drivers\etc\services
To allow connection with only some ports you must go on
properties of Network Neighborhood and on
Protocols -> Tcp/IP-Protocol -> Properties -> Advanced -> Enable Security -> Configure.
Here you may set your list of TCP Ports, UDP ports and IP Protocols.
Pay attention to local admin of your NT WS, because it is possibile
to be unable to log on after this operation, but with a local admin account you may fix this problem allowing NT to use 135 to 139 TCP and UDP ports.