influxdata / influxdata/influxdb
Failed to connect to http://localhost:8086: Get http://localhost:8086/ping: dial tcp 127.0.0.1:8086: getsockopt: connection refused Please check your connection settings and ensure ‘influxd’ is running
- Dominant language
- Rust
- Stars
- 31.7k
- Forks
- 3.7k
- Avg merge
- 13h 37m
- Merged PRs (30d)
- 8
Description
After I run influxd -config ../../etc/influxdb/influxdb.conf, and then run `./influx`, an error occurred:
Failed to connect to http://localhost:8086: Get http://localhost:8086/ping: dial tcp 127.0.0.1:8086: getsockopt: connection refused Please check your connection settings and ensure ‘influxd’ is running
but if I change a new data dir, `influx` can run. Why does it happen?
like this
Contributor guide
Research direction
Start by reproducing `influxd -config ../../etc/influxdb/influxdb.conf` followed by `./influx`, then compare its behavior with a new data directory. Trace why the existing data directory leaves `http://localhost:8086/ping` unreachable; done means the cause and a verified resolution are documented.
Written by the indexing model from the issue text.
Assessment
- Domain
- database
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100