Before we can open ports for BearShare, we need to figure out what ports BearShare is using. Here is a brief walkthrough on how to do that. Go ahead and open up BearShare.
Click Setup in the menu at the top of your screen. In the list that drops down click Connection.
On this page you should see a Listening Port for Incomming TCP and UDP Connections box. This box contains the port you need to open to the computer you are running BearShare on. You can change this port number if you want to. Please enter the port you chose into the box below.
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 BearShare. Go ahead and enter the settings shown below into the Add Port menu.