summaryrefslogtreecommitdiff
path: root/docs/cmdline-opts/local-port.d
blob: fd157d93c07867becf127a92b37f4b730986ff29 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
Long: local-port
Arg: <num/range>
Help: Force use of RANGE for local port numbers
Added: 7.15.2
Category: connection
Example: --local-port 1000-3000 $URL
See-also: globoff
---
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.