If this is a web application, I recommend server 2012 R2 where you have fine control in IIS 8.5 on limiting concurrent connections per source IP or subnet
If net, you can edit this reg key:
[HKEY_LOCAL_MACHINE \System \CurrentControlSet \Services \Tcpip \Parameters]
TcpNumConnections = 0x00fffffe (Default = 16,777,214)
This limits the maximum number of connections that TCP may have open simultaneously on the server. This is not per port though.
You can also edit this key:
[HKEY_LOCAL_MACHINE \System \CurrentControlSet \Services \Tcpip \Parameters]
MaxUserPort
This changes the default range for dynamic ports which is
49152-65535, which makes available 16,384 outbound concurrent connections for each IP Address. Again not port specific.
samb