Re: Windows 2008 registry keys to identify ephemerical port range?




"Jhon" <Jhon@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message news:CEC21B8D-6853-4C6F-A4CB-C6EE2245A283@xxxxxxxxxxxxxxxx
Im using both Windows Server 2003 and Windows Server 2008. In Windows Server
2003 ephemeral ports set by the admin can be easily identify by using the
the Registry values.In Windows Server 2003 , Epemeral lower range is 1024 and
it cannot be changed by the administrator. But in Windows Server 2008 the
Ephemeral range , both the lower end and the higher end can be changed by
the administrator(e.g.netsh int ipv4 set dynamicport tcp start=10000
num=1000). Here i'm not
talking about the default port range for the windows server 2008.
So My application need to identify the ehemeral port range defined by the
administrator in WS2008. So What are the relevent Registry keys to identify
lower end and the higher end in Windows Server 2008.?


I know the one is MaxUserPort, but not sure of the low end. I would test and monitor trying "LowUserPort" or "MinUserPort." But whether you know the low end key or not, you can set it with the netsh command. See this for more info:

Quoted: "To comply with Internet Assigned Numbers Authority (IANA) recommendations, Microsoft has increased the dynamic client port range for outgoing connections in Windows Vista and in Windows Server 2008. The new default start port is 49152, and the default end port is 65535. This is a change from the configuration of earlier versions of Microsoft Windows that used a default port range of 1025 through 5000."

The default dynamic port range for TCP/IP has changed in Windows Vista and in Windows Server 2008
http://support.microsoft.com/?kbid=929851


--
Regards,
Ace

This posting is provided "AS-IS" with no warranties or guarantees and
confers no rights.

Ace Fekay, MCSE 2003 & 2000, MCSA 2003 & 2000, MCSE+I, MCT,
MVP Microsoft MVP - Directory Services
Microsoft Certified Trainer

For urgent issues, you may want to contact Microsoft PSS directly. Please
check http://support.microsoft.com for regional support phone numbers.

Enter into an artificial quantum singularity lined with fermions and neutrino scatterings depicted by electrons smashing into protons and neutrons like billiard balls moving at warp 9 exposing quarks, mesons and baryons, the essentials of their existence, that are spinning off in half scatters. You have now entered the Twilight Zone.

.



Relevant Pages

  • RE: WIndows Server 2003 SP2 does not respond to ctrl-alt-delete
    ... Ctrl-Alt-Delete after you login the system? ... your registry. ... To perform a clean boot in Windows Server 2003, ... Microsoft Global Technical Support Center ...
    (microsoft.public.windows.server.active_directory)
  • RE: Migrating to Windows Server 2003
    ... Windows stores all share information in the registry. ... To move a share from one server to ... Microsoft is providing this information as a convenience to you. ... Migrating to Windows Server 2003 ...
    (microsoft.public.windows.server.migration)
  • RE: Remote TCP/IP port Printing
    ... your local printers are not available in the ... session to a Windows 2000- or Windows Server 2003-based computer. ... This problem occurs because the printer port does not begin with COM, LPT, ... for redirection. ...
    (microsoft.public.win2000.termserv.clients)
  • Re: network printer is ready but error when printing
    ... Let me state again that it is a network printer directly connected to a Windows Server ... It should be 515, yet I'm confused HP JetDirect and others seem to use 9100 or others as listening port. ... [Confirm driver is working by examining the raw output] First print to file using "Keep printed documents" or "FILE:" port with the Canon driver, then use PCLReader / PostScript viewer to view the raw printout to check if it is the driver that makes bad printouts that causes the error. ...
    (microsoft.public.windows.server.networking)
  • Re: network printer is ready but error when printing
    ... The culprit we found is Windows Firewall (of Windows Server 2003). ... After allowing port 9100 through, ... But I wonder why there's incoming connection, shouldn't it be just outgoing as the server is provided on the TCP/IP network printer? ...
    (microsoft.public.windows.server.networking)

Quantcast