BitComet chooses a random port to listen on when you install it. Before we can open ports for BitComet, we need to find out what port BitComet is using. Go ahead and open BitComet.
In the menu at the top of your screen, click Options. Clicking Options will cause a menu to drop down. In this new menu click Preferences.
In the menu on the left the top option Connection should be selected. On the right hand side of this window you should see a Listen Port option. That is the port that you need to open. You can change it if you like. Please enter the listen port below.
There is one more thing we need to do. We need to shut off the UPNP of BitComet.
In the menu on the left hand side under Advanced, click Connection. There should be an Enable UPnP Port Mapping(XP only) checkbox on the right hand side. Make sure it is unchecked.
Click the Security Center link near the bottom left of the page.
Click the Windows Firewall link near the bottom right of the page.
Remove the checkmark from the Don't allow exceptions checkbox.
We will list a series of lines here that will show you exactly how to setup Windows XP Firewall's firewall for BitComet. Go ahead and enter the settings shown below into the Add Port menu.