Getting Error while Making API Call in Scripting

Hello Friends,
We faced an error during these days in our scripting call that we have not had familiar before. The error is occuring while making httpGet API call. You can see the error capture in below,

image

the error says, maximum connections reached. What does it mean? Does it means, our server ram is not enough or CPU is in bottleneck? What are your opinions related that error? What could cause that error ?

Seems to happen when to many users are connected to a port.

There are ways to increase the limit, which ofc can be more taxing on the hardware too.

idk much about that but a quick google give this as an potential solution:

you could try to open the registry editor and locate the registry subkey: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters and add a new entry :
Value Name: MaxUserPort
Value Type: DWORD
Value data: 65534