telnet connection limit

  • Thread starter Thread starter Dave
  • Start date Start date
D

Dave

i have a telnet server that is used for ham radio chatting. it seems to
have a limit of somewhere around 100 incoming telnet connections before
windows starts to reject new connect attempts. i say windows rejects them
because when it happens the user attempting to connect gets an immediate
disconnect, does not receive the login prompt, and nothing appears in the
connection log for the app... disconnecting a few users allows others to
connect. the code is written (i believe) with vb 6.0 using the standard ms
controls for tcp/ip communications. this machine is win2k pro and is also
running iis and the ms ftp server. has anyone seen a limit on incoming
connections like this on win2k? is there any way to raise the limit?
 
Windows 2000 Professional has a limit of 10 concurrent connections to the
box. This limit is hard coded. If you need more connections you will need a
server OS (Windows 2000 Server, Windows Server 2003, etc).

--

Thanks,
Marc Reynolds
Microsoft Technical Support

This posting is provided "AS IS" with no warranties, and confers no rights.
 
Dave,

Did you upgrade this server from NT 4 with Services for Unix on it?

233226 Telnet Server Does Not Work After Upgrading to Windows 2000
http://support.microsoft.com/?id=233226

You definitely must be using a different service than the Telnet Server
that comes with Windows 2000 since that has a hard-coded limit of 2
connetions to the Telnet Server. According to this article, there is a
registry key that is based on how many licenses you have purchased for
Services for Unix.

226107 Description of the Registry Entries for the Telnet Server Service
http://support.microsoft.com/?id=226107

If you are using another Telnet product, you would need to look to it for
increasing it's connection limit.

Best Regards,

Kristin Thomas, MCSE, MCP
Microsoft Enterprise Network Support

Get Secure! - www.microsoft.com/security

=====================================================
When responding to posts, please "Reply to Group" via
your newsreader so that others may learn and benefit
from your issue.
=====================================================
This posting is provided "AS IS" with no warranties, and confers no rights.

--------------------
| From: "Dave" <[email protected]>
| Subject: telnet connection limit
| Date: Tue, 16 Mar 2004 20:59:57 -0000

|
| i have a telnet server that is used for ham radio chatting. it seems to
| have a limit of somewhere around 100 incoming telnet connections before
| windows starts to reject new connect attempts. i say windows rejects them
| because when it happens the user attempting to connect gets an immediate
| disconnect, does not receive the login prompt, and nothing appears in the
| connection log for the app... disconnecting a few users allows others to
| connect. the code is written (i believe) with vb 6.0 using the standard
ms
| controls for tcp/ip communications. this machine is win2k pro and is
also
| running iis and the ms ftp server. has anyone seen a limit on incoming
| connections like this on win2k? is there any way to raise the limit?
|
|
|
 
wrong limit. this is a raw port 23 limit not the '10 connection' limit on
file/print shares or even the 10 connection limit on iis under w2kpro.... i
understand those and they are not a problem. this is either a tcp/ip stack
limitation or a vb control limitation.
 
this is not a server, it is a clean install of win2k pro.

and no, i am not using ms's telnet service, this is a custom app written
using vb6. i am looking for what might be either a tcp/ip stack limitation
or a vb6 control limitation on the number of raw socket connections to a
port.
 
Dave,

120642 TCP/IP and NBT Configuration Parameters for Windows 2000 or Windows
NT
http://support.microsoft.com/?id=120642

You could try adding this registry value:

TcpNumConnections

Key: Tcpip\Parameters

Value Type: REG_DWORD - Number

Valid Range: 0 - 0xfffffe

Default: 0xfffffe

Description: This parameter limits the
maximum number of connections that TCP may
have open simultaneously.



Best Regards,

Kristin Thomas, MCSE, MCP
Microsoft Enterprise Network Support

Get Secure! - www.microsoft.com/security

=====================================================
When responding to posts, please "Reply to Group" via
your newsreader so that others may learn and benefit
from your issue.
=====================================================
This posting is provided "AS IS" with no warranties, and confers no rights.

--------------------
| From: "Dave" <[email protected]>
| References: <[email protected]>
<[email protected]>
| Subject: Re: telnet connection limit
| Date: Tue, 16 Mar 2004 21:50:49 -0000

|
| this is not a server, it is a clean install of win2k pro.
|
| and no, i am not using ms's telnet service, this is a custom app written
| using vb6. i am looking for what might be either a tcp/ip stack
limitation
| or a vb6 control limitation on the number of raw socket connections to a
| port.
|
| | > Dave,
| >
| > Did you upgrade this server from NT 4 with Services for Unix on it?
| >
| > 233226 Telnet Server Does Not Work After Upgrading to Windows 2000
| > http://support.microsoft.com/?id=233226
| >
| > You definitely must be using a different service than the Telnet Server
| > that comes with Windows 2000 since that has a hard-coded limit of 2
| > connetions to the Telnet Server. According to this article, there is a
| > registry key that is based on how many licenses you have purchased for
| > Services for Unix.
| >
| > 226107 Description of the Registry Entries for the Telnet Server Service
| > http://support.microsoft.com/?id=226107
| >
| > If you are using another Telnet product, you would need to look to it
for
| > increasing it's connection limit.
| >
| > Best Regards,
| >
| > Kristin Thomas, MCSE, MCP
| > Microsoft Enterprise Network Support
| >
| > Get Secure! - www.microsoft.com/security
| >
| > =====================================================
| > When responding to posts, please "Reply to Group" via
| > your newsreader so that others may learn and benefit
| > from your issue.
| > =====================================================
| > This posting is provided "AS IS" with no warranties, and confers no
| rights.
| >
| > --------------------
| > | From: "Dave" <[email protected]>
| > | Subject: telnet connection limit
| > | Date: Tue, 16 Mar 2004 20:59:57 -0000
| >
| > |
| > | i have a telnet server that is used for ham radio chatting. it seems
to
| > | have a limit of somewhere around 100 incoming telnet connections
before
| > | windows starts to reject new connect attempts. i say windows rejects
| them
| > | because when it happens the user attempting to connect gets an
immediate
| > | disconnect, does not receive the login prompt, and nothing appears in
| the
| > | connection log for the app... disconnecting a few users allows others
to
| > | connect. the code is written (i believe) with vb 6.0 using the
standard
| > ms
| > | controls for tcp/ip communications. this machine is win2k pro and is
| > also
| > | running iis and the ms ftp server. has anyone seen a limit on
incoming
| > | connections like this on win2k? is there any way to raise the limit?
| > |
| > |
| > |
| >
|
|
|
 
ok, that one looks interesting. any idea what the default 0xfffffe may
really mean? that would be an awfully big number of connections, or it
could be a weird 3 byte -2 that means something special. the system doesn't
have this key now so i would assume it is using that default value.
 
Dave,

Well, it works out to over 16 million according to my scientific
calculator. :-) Since you can't have that many ephemeral ports, you would
be limited to no more than 65,000 sockets I would think. But I have found
nothing else to help you as far as Windows and TCP/IP sockets and
connections, it looks like it's probably your VB6 custom app. You might
want to repost to a developer group.

Best Regards,

Kristin Thomas, MCSE, MCP
Microsoft Enterprise Network Support

Get Secure! - www.microsoft.com/security

=====================================================
When responding to posts, please "Reply to Group" via
your newsreader so that others may learn and benefit
from your issue.
=====================================================
This posting is provided "AS IS" with no warranties, and confers no rights.

--------------------
| From: "Dave" <[email protected]>
| References: <[email protected]>
<[email protected]>
<[email protected]>
<[email protected]>
| Subject: Re: telnet connection limit
| Date: Tue, 16 Mar 2004 23:19:09 -0000

|
| ok, that one looks interesting. any idea what the default 0xfffffe may
| really mean? that would be an awfully big number of connections, or it
| could be a weird 3 byte -2 that means something special. the system
doesn't
| have this key now so i would assume it is using that default value.
|
 
thanks. we did find out the developer set the winsock control to handle 100
incoming connections... he figured no one would ever get that many... so
that one is explained. the other problem may be related to exceeding the
listen() backlog limit on non-server os's, though that one is proving harder
to nail down.
 
Back
Top