I found this...
I got this meassage from ea help support center regarding your (mine too)server refuse connection problem
Hello,
Thank you for contacting Electronic Arts. I’m sorry for the difficulty that you are having with Battlefield 2.
Errors like these can be caused several things. It can be from the accounts servers itself, the connection between the account servers and your internet connection, certain files within your game that is preventing proper communication between your computer and the servers, or something as simple as your hardware that needs to be reconfigured for optimal connection to the account servers
You can try connecting directly to your broadband modem and bypass your router and see if this allows you to connect online to the game.
If you have other games that have online gameplay, you can also try and see if you can connect online using these games.
Another suggestion would be this:
Please try this and see if this resolves your game issue:
1. Click on the Start button.
2. Click on the My Documents icon.
3. Right-click on the Battlefield2 folder.
4. Select delete.
5. Try the game again.
Then retrieve your account and see if you can connect online.
If you cannot retrieve your original account you can try making a new account using a different username and email address, just for testing purposes and see if you can connect online now.
If you successfully connect online using your alternative account, and just to confirm that you can login using your original account, try to login to this website: www.gamespyid.com. If you can login to this website, please fillin the following information and reply back and we will investigate this matter:
username:
email used to create account:
If, on the other hand that you cannot successfully log in still, chances are that there may be corrupted game files that may have been corrupted, either on your windows Xp account or on the game installation.
You can try making a new windows XP admin account, uninstall the game, then reinstall the game in the new admin account and see if this resolves the issue.
You can try consulting with your system manufacturer for assistance in making a new windows XP admin account if you are not familiar with making one.
You can also manually uninstall the game to remove any traces of the game in your hard drive and registry entries. The instructions to manually uninstall the game is as follows:
You may have to perform a manual uninstall of the game to reset any game files that may have become corrupted and is not allowing the proper patching of the game. The instructions are as follows:
An improper installation or corruption of the game data can not only prevent the game from loading, but can cause the game to crash at seemingly random but very specific points in the game. When such an occurrence happens, it’s best to manually remove all of the components to make sure that next installation does not run into the same issues. Be sure to follow these steps exactly to prevent accidental file/program deletion on your system.
Follow these steps to back-up the registry so that should something go wrong, you can restore your system back to a working state:
1. Click on the Start button.
2. Click on Run.
3. Type regedit into the available text field, and press OK.
+ If you are using Windows 2000/XP, click on File on the tool bar, and select Export.
+ If you are using Windows 95/98/ME, click on Registry on the tool bar, and select Export Registry File…
1. Check All under Export Range.
2. Type registry_archive into the File name field, and click Save.
3. Close the Registry Editor by clicking on the X in the top right corner of the window.
To delete the save files:
Open My Documents.
Right-click on the Battlefield 2 folder and choose Delete.
To delete the game files (in the default location):
Open My Computer.
Open the C drive.
Open the Program Files folder.
Open the EA GAMES folder.
Right-click on the Battlefield 2 folder and choose Delete.
Close all open windows.
Right-click on the Recycle Bin and choose Empty Recycle Bin.
To edit the registry and remove Battlefield 2:
Click on the Start button.
Click on Run.
Type regedit in the text field.
Click File and then choose Export.
Name the file Backup and make sure the Export Range is set to All.
Click Save; you will now be returned to the Registry Editor window.
Click the plus sign next to HKEY_LOCAL_MACHINE.
Click the plus sign next to Software.
Click the plus sign next to DICE.
Right-click on the Battlefield 2 folder and choose Delete.
Click the plus sign next to Electronic Arts.
Right-click and choose Delete on any Battlefield 2 folders.
Click the plus sign next to Microsoft.
Click the plus sign next to Windows.
Click the plus sign next to CurrentVersion.
Click the plus sign next to Uninstall.
Right-click on the key named {04858915-9F49-4B2A-AED4-DC49A7DE6A7B} andchoose Delete.
A Confirm Key Delete window will appear, choose Yes.
Close the WindowsRegistry Editor.
Battlefield 2 is now completely removed from your system.
Reinstall the game and see if this resolves the issue.