local-port.d 560 B

123456789101112131415
  1. c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
  2. SPDX-License-Identifier: curl
  3. Long: local-port
  4. Arg: <num/range>
  5. Help: Force use of RANGE for local port numbers
  6. Added: 7.15.2
  7. Category: connection
  8. Example: --local-port 1000-3000 $URL
  9. See-also: globoff
  10. Multi: single
  11. ---
  12. Set a preferred single number or range (FROM-TO) of local port numbers to use
  13. for the connection(s). Note that port numbers by nature are a scarce resource
  14. that will be busy at times so setting this range to something too narrow might
  15. cause unnecessary connection setup failures.