master-server/deps/curl/docs/cmdline-opts/local-port.md
2024-05-15 15:20:32 -04:00

554 B

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 <range> Use a local port number within RANGE 7.15.2 connection single
globoff
--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.