---
title: InfluxDB OSS URLs
description: InfluxDB OSS is accessed at localhost:8086 by default, but you can also customize your InfluxDB host and port.
url: https://docs.influxdata.com/influxdb/v2/reference/urls/
estimated_tokens: 390
product: InfluxDB OSS v2
version: v2
publisher: InfluxData
canonical: https://docs.influxdata.com/influxdb/v2/reference/urls/
date: '2023-11-06T15:53:12-07:00'
lastmod: '2023-11-06T15:53:12-07:00'
---

This page documents an earlier version of InfluxDB OSS.[InfluxDB 3 Core](/influxdb3/core/) is the latest stable version.

> [!Important]
> #### API token hashing is enabled by default in InfluxDB OSS 2.9.0
>
> Stronger token security: tokens are stored as hashes on disk, so a
> copy of the database file doesn’t expose usable tokens. Existing
> tokens are hashed on first startup and the original strings can’t
> be recovered afterward — **capture any plaintext tokens you still
> need before you upgrade**.
>
> For more information, see [Token hashing](/influxdb/v2/admin/tokens/#token-hashing).

InfluxDB OSS is accessed at `localhost:8086` by default, but you can also
customize your InfluxDB host and port.

**Default host:** `localhost`  
**Default port:** `8086`

```
http://localhost:8086/
```

## Customize your InfluxDB OSS URL

To customize your InfluxDB host and port, use the[`http-bind-address` configuration option](/influxdb/v2/reference/config-options/#http-bind-address)when starting `influxd`.

```sh
# Syntax
influxd --http-bind-address <custom-domain>:<custom-port>

# Example - Run InfluxDB at http://example.com:8080
influxd --http-bind-address example.com:8080

# Example - Run InfluxDB at http://localhost:8080
influxd --http-bind-address :8080
```

> [!Note]
> #### Configure DNS routing
>
> You must configure DNS routing to successfully route requests to your custom hostname.
> Methods for configuring DNS routing vary depending on your operating system and
> network architecture and are not covered in this documentation.
