c |
SPDX-License-Identifier |
Long |
Arg |
Help |
Added |
Category |
Multi |
See-also |
Example |
Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al. |
curl |
local-port |
<num/range> |
Force use of RANGE for local port numbers |
7.15.2 |
connection |
single |
|
--local-port 1000-3000 $URL |
|
--local-port
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
so setting this range to something too narrow might cause unnecessary
connection setup failures.