Dial up 127.0.0.1:8086: Connect: connection refused

Try to log in into Influx Database using CLI.
=> Could not get CLI prompt got error :: “dial up 127.0.0.1:8086: Connect: connection refused”
Search on the community for the error and explore the root cause but couldn’t found anything.
Checked “8086” port was listening or not using ls -i command and got below result
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
influxd 6918 influxdb 3u IPv4 49296 0t0 TCP localhost:omniorb (LISTEN)
Restarted influxdb and influxd services but no improvement
After sometime, influxdb CLI prompt was available and after sometime again giving :: “dial up 127.0.0.1:8086: Connect: connection refused” error
We checked the database and our populated tables, but we lost all over data. No logs, No information available why our data lost.

Hi @jaydip_p ,

do you see errors in journalctl -u influxdb ?

How did you see that all data is lost , is everything lost or a part of it ?

best regards ,