--- title: "exclude_local_hosts Key" slug: "exclude-local-hosts-key" updated: 2026-09-08T19:11:41Z published: 2026-09-08T19:11:41Z canonical: "docs.trellix.com/exclude-local-hosts-key" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.trellix.com/llms.txt > Use this file to discover all available pages before exploring further. # exclude_local_hosts Key The proxy `exclude_local_hosts` key indicates whether or not Trellix Endpoint Security (HX) xAgents should use the HTTPS proxy server when contacting host machines with local or simple hostnames. Valid values include `true` (enabled) and `false` (disabled). The default value is `false`. When you enable the `exclude_local_hosts` key, your HTTPS proxy server is not used to contact hosts with local or simple hostnames. When you disable the `exclude_local_hosts` key, your HTTPS proxy server is used to contact hosts with local or simple hostnames. If you disable the `exclude_local_hosts` key, you must also define the following: - [proxy type Key](/docs/proxy-type-key) - exclude_local_hosts Key - [proxy port Key](/docs/proxy-port-key) Change this key using one of the following methods: - Web UI (See [Configuring an HTTPS Proxy Server Using the Web UI](/docs/configuring-a-proxy-server-policy-for-the-default-policy)). - API custom configuration channels (see [Using API Custom Configuration Channels](/docs/using-api-custom-configuration-channels)). - Manually on individual endpoints using a text editor (see [Modifying the Configuration File for a Single Endpoint](/docs/modifying-the-configuration-file-for-a-single-endpoint)). For manual changes, the proxy `password` setting should be listed within quotation marks ("). Enclose the full list of proxy server settings in braces ({}). `{` `"proxy": {` `"type": "manual",` `"host": "proxy.fireeye.com",` `"port": 80,` `"exclude_hosts": ["eng.fireeye.com", "host.fireeye.com"],` `"exclude_local_hosts": true,` `}` :