# --server-bind-address

Source: https://zshot-cli.com/reference/flags/server/server-bind-address/
Markdown: https://zshot-cli.com/reference/flags/server/server-bind-address/index.md
Section: [Reference](https://zshot-cli.com/reference/) › [Flags](https://zshot-cli.com/reference/flags/) › [Server](https://zshot-cli.com/reference/flags/server/)
CLI: `--server-bind-address` · REST: CLI only
Value: `IFADDR_OR_PATH` · Default: `127.0.0.1`

Sets the interface address or Unix socket the server listens on. Bind `0.0.0.0` to accept connections from other hosts or from outside a container. Write an IPv6 address in brackets, such as `[::1]`, or `[::]` for every interface. A hostname binds the first address it resolves to.

A `unix:` path, such as `unix:/run/zshot.sock`, listens on a socket and takes no [`--server-bind-port`](/reference/flags/server/server-bind-port).

## Example

Listen on every IPv4 interface:

**CLI**

```sh
zshot --server --server-bind-address 0.0.0.0
```

Listen on every IPv6 interface:

**CLI**

```sh
zshot --server --server-bind-address "[::]"
```

## Related

Flags:

- [`--server`](https://zshot-cli.com/reference/flags/server/server/)
- [`--server-bind-port`](https://zshot-cli.com/reference/flags/server/server-bind-port/)

Topics:

- [Server](https://zshot-cli.com/reference/server/)
- [Docker](https://zshot-cli.com/reference/docker/)

## Navigation

- [Examples](https://zshot-cli.com/examples/)
- [Download](https://zshot-cli.com/download/)
- [Purchase](https://zshot-cli.com/purchase/)
- [Reference](https://zshot-cli.com/reference/)
  - [Formats](https://zshot-cli.com/reference/formats/)
  - [Flags](https://zshot-cli.com/reference/flags/)
    - [Common](https://zshot-cli.com/reference/flags/common/)
    - [Agents](https://zshot-cli.com/reference/flags/agents/)
    - [Archive](https://zshot-cli.com/reference/flags/archive/)
    - [Browser](https://zshot-cli.com/reference/flags/browser/)
    - [Diagnostics](https://zshot-cli.com/reference/flags/diagnostics/)
    - [Document](https://zshot-cli.com/reference/flags/document/)
    - [Image](https://zshot-cli.com/reference/flags/image/)
    - [Navigator](https://zshot-cli.com/reference/flags/navigator/)
    - [Security](https://zshot-cli.com/reference/flags/security/)
    - [Server](https://zshot-cli.com/reference/flags/server/)
      - [--cdp](https://zshot-cli.com/reference/flags/server/cdp/)
      - [--cdp-webdriver](https://zshot-cli.com/reference/flags/server/cdp-webdriver/)
      - [--server](https://zshot-cli.com/reference/flags/server/server/)
      - [--server-additional-asset-expiration](https://zshot-cli.com/reference/flags/server/server-additional-asset-expiration/)
      - [--server-basic-auth](https://zshot-cli.com/reference/flags/server/server-basic-auth/)
      - **--server-bind-address**
      - [--server-bind-port](https://zshot-cli.com/reference/flags/server/server-bind-port/)
      - [--server-cache](https://zshot-cli.com/reference/flags/server/server-cache/)
      - [--server-cache-size-limit](https://zshot-cli.com/reference/flags/server/server-cache-size-limit/)
      - [--server-cache-ttl](https://zshot-cli.com/reference/flags/server/server-cache-ttl/)
      - [--server-enable-mcp](https://zshot-cli.com/reference/flags/server/server-enable-mcp/)
      - [--server-enable-prometheus](https://zshot-cli.com/reference/flags/server/server-enable-prometheus/)
      - [--server-enable-schema](https://zshot-cli.com/reference/flags/server/server-enable-schema/)
      - [--server-max-concurrency](https://zshot-cli.com/reference/flags/server/server-max-concurrency/)
      - [--server-prometheus-auth](https://zshot-cli.com/reference/flags/server/server-prometheus-auth/)
      - [--server-prometheus-bind-address](https://zshot-cli.com/reference/flags/server/server-prometheus-bind-address/)
      - [--server-prometheus-bind-port](https://zshot-cli.com/reference/flags/server/server-prometheus-bind-port/)
      - [--server-queue-requests](https://zshot-cli.com/reference/flags/server/server-queue-requests/)
      - [--server-signed-url](https://zshot-cli.com/reference/flags/server/server-signed-url/)
      - [--server-signed-url-max-age](https://zshot-cli.com/reference/flags/server/server-signed-url-max-age/)
      - [--server-token-auth](https://zshot-cli.com/reference/flags/server/server-token-auth/)
      - [--server-update-adblock-interval](https://zshot-cli.com/reference/flags/server/server-update-adblock-interval/)
      - [--server-update-blocklist-interval](https://zshot-cli.com/reference/flags/server/server-update-blocklist-interval/)
    - [Video](https://zshot-cli.com/reference/flags/video/)
  - [Agents](https://zshot-cli.com/reference/agents/)
  - [Configuration](https://zshot-cli.com/reference/configuration/)
  - [Crawling](https://zshot-cli.com/reference/crawling/)
  - [Docker](https://zshot-cli.com/reference/docker/)
  - [Exit Codes](https://zshot-cli.com/reference/exit_codes/)
  - [Linux](https://zshot-cli.com/reference/linux/)
  - [LLM Connections](https://zshot-cli.com/reference/llm_connections/)
  - [LLM Formatting](https://zshot-cli.com/reference/llm_formatting/)
  - [Local Inputs](https://zshot-cli.com/reference/inputs/)
  - [Navigator](https://zshot-cli.com/reference/navigator/)
  - [Security](https://zshot-cli.com/reference/security/)
  - [Server](https://zshot-cli.com/reference/server/)
  - [Shell completions](https://zshot-cli.com/reference/shell_completions/)
  - [Storage](https://zshot-cli.com/reference/storage/)
  - [Timeouts](https://zshot-cli.com/reference/timeouts/)
  - [Web Bot Auth](https://zshot-cli.com/reference/web_bot_auth/)
- [Support](https://zshot-cli.com/support/)
- [Changelog](https://zshot-cli.com/changelog/)

Site index: https://zshot-cli.com/llms.txt

