How to connect to InfluxDB server(not local)

The 172.*.*.* address doesn’t belong there. In the server configuration for the bind address, the only values you should use are 0.0.0.0:8086, :8086, or 127.0.0.1:8086. You can use a different port for all of them, but the rest should be one of those three. The first two will allow your server to access connections from other computers (which is what you want) while the last will restrict the listener to only connections from the current host. The last one is useful if you want to put a load balancer like nginx in front of it since it would allow nginx running on the same machine to connect, but wouldn’t allow external connections to the influxd process itself.

The easiest way is just to keep the bind-address as the default value of :8086.

There are also two bind addresses that exist. There’s one at the top of the file in no section that defaults to :8088 and there’s one in the http section that defaults to :8086.

In general, you likely do not need to change the defaults for any of the bind addresses unless you have a specific need like the load balancer example I gave earlier.