2023-01-02 20:51:48 +08:00
|
|
|
c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
|
2022-06-14 06:12:03 +08:00
|
|
|
SPDX-License-Identifier: curl
|
2016-11-16 06:44:58 +08:00
|
|
|
Long: local-port
|
|
|
|
Arg: <num/range>
|
|
|
|
Help: Force use of RANGE for local port numbers
|
|
|
|
Added: 7.15.2
|
2020-07-13 20:15:04 +08:00
|
|
|
Category: connection
|
2021-08-31 22:37:14 +08:00
|
|
|
Example: --local-port 1000-3000 $URL
|
2021-11-15 22:58:20 +08:00
|
|
|
See-also: globoff
|
2022-10-18 16:39:43 +08:00
|
|
|
Multi: single
|
2016-11-16 06:44:58 +08:00
|
|
|
---
|
|
|
|
Set a preferred single number or range (FROM-TO) of local port numbers to use
|
|
|
|
for the connection(s). Note that port numbers by nature are a scarce resource
|
|
|
|
that will be busy at times so setting this range to something too narrow might
|
|
|
|
cause unnecessary connection setup failures.
|