SNA Server Allows Range of IP Ports With Distributed Link Service

ID: Q224303


The information in this article applies to:
  • Microsoft SNA Server, versions 3.0 SP3, 4.0 SP2

IMPORTANT: This article contains information about editing the registry. Before you edit the registry, make sure you understand how to restore it if a problem occurs. For information about how to do this, view the "Restoring the Registry" Help topic in Regedit.exe or the "Restoring a Registry Key" Help topic in Regedt32.exe.

SUMMARY

If a connection is configured to activate "On Demand" or "By Administrator," the node will issue an initial Open Link request. When the connection is activated, the node issues a Close Link request, then an Open Link request for the actual connection. If a distributed link service (DLS) is configured to use a fixed IP port number through the LocalIPport registry entry, the second Open Link request will fail because the port will be in a Time_Wait state from the first Open/Close Link request.

A new registry entry has been added to allow a range of IP ports. This registry entry is necessary to allow the connection to recover or be recycled in a timely fashion. The remote link service will cycle through the range of ports specified in LocalIPPortRange until it either finds a free port or has exhausted all ports in the specified range. To add this registry key, perform the following steps:

WARNING: Using Registry Editor incorrectly can cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that problems resulting from the incorrect use of Registry Editor can be solved. Use Registry Editor at your own risk.

For information about how to edit the registry, view the "Changing Keys and Values" Help topic in Registry Editor (Regedit.exe) or the "Add and Delete Information in the Registry" and "Edit Registry Data" Help topics in Regedt32.exe. Note that you should back up the registry before you edit it. If you are running Windows NT, you should also update your Emergency Repair Disk (ERD).

  1. Start Registry Editor (Regedt32.exe).


  2. Locate the following key in the registry:


  3. HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\SnaRemx\Parameters\SnaTCP
  4. On the Edit menu, click Add Value, and then add the following registry value:


  5. Value Name: LocalIPPortRange
    Data Type: REG_DWORD
    Value: 1 (The default value is 1.)
  6. Quit Registry Editor.



MORE INFORMATION

SNA Server 4.0

This feature is available in the latest service pack for SNA Server version 4.0. For additional information, please see the following article in the Microsoft Knowledge Base:
Q215838 How to Obtain the Latest SNA Server Version 4.0 Service Pack

SNA Server 3.0

This feature is available in the latest service pack for SNA Server version 3.0. For additional information, please see the following article in the Microsoft Knowledge Base:
Q184307 How to Obtain the Latest SNA Server Version 3.0 Service Pack

Additional query words:

Keywords : sna4sp3fea
Version : WINDOWS:3.0 SP3,4.0 SP2
Platform : WINDOWS
Issue type : kbinfo


Last Reviewed: September 29, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.