-2

Possible Duplicate:
What is the practical / hard limit on socket connections per server

When I hit about 480 TCP connections, it doesn't accept + connections. Where it is the max of TCP connections? Windows 2008..

Community
  • 1
  • 1
user1704332
  • 135
  • 1
  • 2
  • 5
  • A very quick Google search indicates that a single IP address can support well over 60000 active connections. See e.g. http://support.microsoft.com/kb/951764 – Some programmer dude Oct 14 '12 at 15:18

2 Answers2

1

It depends on the Windows 2008 edition, Web and Foundation editions have connection limits while Standard, Enterprise, and Datacenter do not.

Hope that helps...

lrivera
  • 514
  • 3
  • 8
0

Python does not limit connections. It is controlled/limited by the underlying operating system and network stack.

However, if you are working directly with python's socket module, you can adjust some parameters using socket.setsockopt(level, optname, value) before you bind to the port.

you can also tweak windows registry settings to enable more concurrent connections. see: http://technet.microsoft.com/en-us/magazine/2007.12.network.aspx

the TcpNumConnections, MaxUserPort,and EnableConnectionRateLimiting tcp settings are good places to start.

Corey Goldberg
  • 59,062
  • 28
  • 129
  • 143