3

I've done a bit of searching on the internet trying to find out whether there is an INBOUND TCP connection limit on Windows 7.

We're writing a server product which processes data from a number of embedded nodes. These nodes connect over TCP to the server.

We're wondering whether we can get away with Windows 7 to run the server application rather than having to pay for Server 2008.

We're not using any of the Microsoft protocols however we may use IIS on the server for client applications to connect to view data from the embedded nodes.

2

4 Answers 4

2

I have experienced maximum connection limit problems in Windows XP and Windows Vista, and now I do all my server development on NetBSD Unix. I've not tried Windows 7, but I've heard that it's got the same limit.

The problem I ran into was that once we had 10 connection open, additional connection attempts would fail but in a strange way -- no error message but eventually it timed out. This limit was a maximum of 10 per TCP port number used, so you might be able to get around this if you're using different TCP port numbers.

There are a few hacking tools on the internet that will modify this limit in your TCPIP.SYS file, but these are not supported by Microsoft, and if you modify the wrong version of TCPIP.SYS then you'll be at risk of having a corrupt TCP/IP stack on your system. In addition to that, some of those tools were actually SpyWare, so you need to be very careful with this.

2
  • Thanks Randolf. Were you just making plain-old TCP connections? Or were these windows-login connections?
    – Nick
    Commented Mar 7, 2011 at 9:30
  • These were TCP connections (I'm writing an SMTP/POP3/IMAP4/<and-something-new> server in Java). Since each Windows login connection also uses a socket, these are effected in the same way. Commented Mar 8, 2011 at 16:59
1

This response on ServerFault answers the question:

A Windows Socket is basically the same concept as Berkley Sockets. Those have absolutely nothing to do with the 10 Connection limit you're looking at. The 10 Connection limit is an unenforced application session limit. Basically this is to prevent people from abuse XP as a public web server platform, file server, or something similar.

https://serverfault.com/questions/234131/do-tcp-udp-connections-add-to-the-windows-incoming-connection-limit

0

There doesn't seem to be any TCP connection limit on Windows 7. The last time I ran a P2P software and the TCP Connections was 500+, according to Resource Monitor.

0

I would suggest that 65535 would be the maximum number of TCP connections permitted for an IPV4 Windows machine.

2
  • 2
    Why do you think so? Can you provide a reference? Commented Nov 8, 2013 at 18:19
  • Also which versions have this limit? Commented Nov 8, 2013 at 18:25

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .