retry-connrefused.md 469 B


c: Copyright (C) Daniel Stenberg, daniel@haxx.se, et al. SPDX-License-Identifier: curl Long: retry-connrefused Help: Retry on connection refused (with --retry) Added: 7.52.0 Category: curl Multi: boolean See-also:

  • retry
  • retry-all-errors Example:
  • --retry-connrefused --retry 7 $URL ---

--retry-connrefused

In addition to the other conditions, consider ECONNREFUSED as a transient error too for --retry. This option is used together with --retry.