getIPConnectionLimit
First introduced in version: 2.00.16.2
Syntax
getIPConnectionLimit()
Arguments
None
Details
Get the connection limit for different IP addresses on the current node. This limit
applies to API and xdb connections but does not affect internal
connections between cluster nodes (e.g., rpc).
This function can only be executed by an administrator on Linux.
Return value: A table containing the following columns:
- remoteIP: The IP address.
- limit: The maximum number of connections allowed from that IP address.
Examples
getIPConnectionLimit();
| remoteIP | limit |
|---|---|
| 192.168.1.56 | 10 |
| 192.168.1.57 | 20 |
Related function: setIPConnectionLimit
