I am assuming that you mean you want to block access to ports as if they were being blocked from a firewall. The simplest way to do this is to use TCP/IP filtering for the network interface.1. Open the TCP/IP Properties window for the interface. 2. Click Advanced. 3. Select the Options tab. 4. Double-click TCP/IP Filtering. 5. Check the Enable TCP/IP Filtering option. 6. Add and remove ports as you wish.
This was first published in June 2001