port 8086 stops listing after sometime.

I am running InfluxDB(1.4.3) on debian 9.4, influxdb is running inside a docker container. The issue is when i start the service it all works fine but, after sometime ( when container get’s recreated ) the influxdb stops listing on the port 8086 . When i delete influxdb data files and recreate container it all works again.It was all working fine when we were running with 1.3.x version.

root@influxdb-7cc9c7f4cf-bgqr6:/var/log/influxdb# ss -nltpu
Netid State Recv-Q Send-Q Local Address:Port Peer Address:Port
tcp LISTEN 0 128 127.0.0.1:8088 : users:((“influxd”,pid=1,fd=3))

root@influxdb-7cc9c7f4cf-bgqr6:/var/log/influxdb# influx
Failed to connect to http://localhost:8086: Get http://localhost:8086/ping: dial tcp [::1]:8086: getsockopt: connection refused
Please check your connection settings and ensure ‘influxd’ is running.

Any help would be appreciated .