由于某种原因,influxdb没有在正确的端口上侦听。我告诉它在端口8086上侦听,但在端口8088上侦听。
这是ss -tulnp
tcp LISTEN 0 128 127.0.0.1:8088 0.0.0.0:* users:(("influxd",pid=17483,fd=3))
这是我的部分配置
[http]
# Determines whether HTTP endpoint is enabled.
enabled = true
# Determines whether the Flux query endpoint is enabled.
# flux-enabled = false
# Determines whether the Flux query logging is enabled.
# flux-log-enabled = false
# The bind address used by the HTTP service.
bind-address = ":8086"
以前有人遇到过这样的问题吗?