1.2 KiB
1.2 KiB
title | description | weight | menu | ||||||
---|---|---|---|---|---|---|---|---|---|
InfluxDB OSS URLs | InfluxDB OSS is accessed at `localhost:8086` by default, but you can also customize your InfluxDB host and port. | 6 |
|
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
{{< keep-url >}}
http://localhost:8086/
Customize your InfluxDB OSS URL
To customize your InfluxDB host and port, use the
http-bind-address
configuration option
when starting influxd
.
{{< keep-url >}}
# 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. {{% /note %}}