IMPORTANT: This article contains information about modifying the registry.
Before you modify the registry, make sure to create a back up of the registry and ensure that you understand how to restore the registry if a problem may occur.
For more information about how to back up, restore, and edit the registry, please review the relevant Microsoft Knowledge Base articles on support.microsoft.com.
In order to prevent Windows allocating ports 1098/1099 for random services so that JBoss will be able to use these pre configured ports, we need to modify the registry to reserve these ports.
Use the following steps in order to apply these settings:
- Start > Run > regedit
- Make sure you take a backup of the entire registry (right click on "Computer) and select export)
- After backup has been obtained, navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters
- Edit the key called ReservedPorts and add 1098-1099
- Make sure to restart the machine in order for changes to take effect