Documentation

InfluxDB OSS URLs

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 when starting influxd.

# 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

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.


Was this page helpful?

Thank you for your feedback!


The future of Flux

Flux is going into maintenance mode. You can continue using it as you currently are without any changes to your code.

Flux is going into maintenance mode and will not be supported in InfluxDB 3.0. This was a decision based on the broad demand for SQL and the continued growth and adoption of InfluxQL. We are continuing to support Flux for users in 1.x and 2.x so you can continue using it with no changes to your code. If you are interested in transitioning to InfluxDB 3.0 and want to future-proof your code, we suggest using InfluxQL.

For information about the future of Flux, see the following: