---
title: "Web"
description: "Configure the Enterprise API listen host, port, and JSON pretty-print using web.conf."
stack: "Enterprise Stack (commercial) — version 1.2.1"
stack_version: "1.2.1"
stack_comparison: https://docs.walt.id/community-vs-enterprise.md
canonical_url: https://docs.walt.id/enterprise-stack/setup/configurations/config-files/web
generated: 2026-11-11
---
# Web

`web.conf` controls the HTTP listener. Public callback URLs are configured separately in [`enterprise.conf`](https://docs.walt.id/enterprise-stack/setup/configurations/config-files/enterprise.md).

## Example File

```hocon [web.conf]
webHost = "0.0.0.0" // Host to listen on
webPort = 3000      // Port to listen on

humanReadableResultEncoding = false // Slower, but human-readable: Pretty-print encoded JSON results
```

The code default for `webPort` is `3000`. The Enterprise quickstart may use a different listen port (for example `7500`) when a reverse proxy owns port 80.

## Fields

### `webHost`

_String_ — Bind address. Use `0.0.0.0` to accept traffic on every interface, or `127.0.0.1` for local-only access. Default is `"0.0.0.0"`.

### `webPort`

_Integer_ — Listen port. Default is `3000`.

### `humanReadableResultEncoding`

_Boolean_ — When `true`, JSON responses are pretty-printed. Default is `false`. Leave it off in production.
