branch: master
unix-socket.md
483 bytesRaw
---
c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
SPDX-License-Identifier: curl
Long: unix-socket
Arg: <path>
Help: Connect through this Unix domain socket
Added: 7.40.0
Protocols: HTTP
Category: connection
Multi: single
See-also:
  - abstract-unix-socket
Example:
  - --unix-socket socket-path $URL
---

# `--unix-socket`

Connect to the server through this Unix domain socket, instead of using the
network.

To connect to a proxy over Unix domain socket, see --proxy.