When you reserve a range of ephemeral ports, only processes that
specifically request a port in the reserved range can use it.
*NOTE:* Ephemeral (short-lived) port numbers start at 1024.
To reserve one or more ranges of ephemeral ports:
1. Use *Regedt32.exe* to navigate to:
2. On the *Edit* menu, *Add Value* name *ReservedPorts* as a
*REG_MULTI_SZ Data Type*.
3. For each range that you wish to add, type a line in the *Multi-String
Editor* dialog, using the *FFFF-TTTT* syntax, where *FFFF* is the
starting port of the range and *TTTT* is the ending port of the range.
If only one port exists in the range, *FFFF* and *TTTT* are identical.
4. Press *OK* when you have finished adding ranges.
5. *Exit* the Registry Editor.
I am using Windows XP and tried the method on setting reservedports but not success.
I found the process used the port (1098) is Outlook 2003.
Everytime i have to close Outlook to get it work but sometime Outlook may have another port assigned that would not have the problem.
Does anyone know if anything special with Outlook 2003 which it might override the reservedports setting?
Or anything command to check the current reserved ports to see if I make the correct setting?
I run into this same situation with both Outlook and Norton Anti Virus at least once a month. After putting up with it for a while, I finally opened a support issue with out network services group (being in a large corp does have its benefits), but the final answer I got from them was that there was no way to change (or lock down) the port(s) that Outlook or NAV use (they checked with MS and Symantec). So the only resolution is when you run into this, reboot. Like I said, I get to do this about once a month (though I am overdue, I haven't run into this in several months). Sorry I could not offer a better solution.
Maybe you could bring up JBoss AS before Outlook?
I was also facing the same problem. I fixed it by changing the JNP and RMI ports in the JBoss-service.xml file.
By default, JNP is 1099 and RMI is 1098. If you have changed your server configuration, then please make sure that both needs to different.
Let me know if this helps you.
I had the same problem on my machine. It runs with WinXP Prof and SP2. First I used
netstat -aoto get the Process ID of the process which is using it. In my case it was
alg.exewhich is supposed to be the "Windows Firewall/Internet Connection Sharing (ICS)"-Service.
It turned the Microsoft built-in "Firewall" off and all is fine now.