# 127.0.0.1:8086: connect: connection refused

**URL:** <https://community.influxdata.com/t/127-0-0-1-connect-connection-refused/7476>\
**Category:** Systems\
**Created:** [November 19, 2018, 6:08am UTC](https://community.influxdata.com/t/127-0-0-1-connect-connection-refused/7476 "2018-11-19T06:08:46Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![darkvalley](https://avatars.discourse-cdn.com/v4/letter/d/ee7513/32.png) [@darkvalley](https://community.influxdata.com/u/darkvalley)\
**Post date:** [November 19, 2018, 6:08am UTC](https://community.influxdata.com/t/127-0-0-1-connect-connection-refused/7476/1 "2018-11-19T06:08:46Z")

</div>

Hello Guys,

Cloud anybody helps me to resolve my problem? I have used the influxdb on the docker container and DC/OS.  
Actuaaly, I don’t know what happened in my system. it was just shut it down. and restarted it. then not working and some error messages came up like below. so I have tried to connect the influx in directly on the container ( exec -it) but some error message came up, when I typed “influx” command on the container.

------ Error messages --------------

1. Failed to connect to [http://localhost:8086](http://localhost:8086): Get [http://localhost:8086/ping:](http://localhost:8086/ping:) dial tcp 127.0.0.1:8086: connect: connection refused.  
I can not connect the database by 8086, but the port is correct and same port is configured on conf file.

2. log file

ts=2018-11-19T04:35:29.778190Z lvl=info msg=“Failed to open shard” log\_id=0BrZsVSl000 service=store trace\_id=0BrZsWAl000 op\_name=tsdb\_open db\_shard\_id=132 error=“[shard 132] sync /var/lib/influxdb/data/\_internal/monitor/132: invalid argument”  
ts=2018-11-19T04:35:29.810820Z lvl=info msg=“Failed to open shard” log\_id=0BrZsVSl000 service=store trace\_id=0BrZsWAl000 op\_name=tsdb\_open db\_shard\_id=124 error=“[shard 124] sync /var/lib/influxdb/data/\_internal/monitor/124: invalid argument”  
ts=2018-11-19T04:35:29.859082Z lvl=info msg=“Failed to open shard” log\_id=0BrZsVSl000 service=store trace\_id=0BrZsWAl000 op\_name=tsdb\_open db\_shard\_id=125 error=“[shard 125] sync /var/lib/influxdb/data/\_internal/monitor/125: invalid argument”  
ts=2018-11-19T04:35:29.939899Z lvl=info msg=“Failed to open shard” log\_id=0BrZsVSl000 service=store trace\_id=0BrZsWAl000 op\_name=tsdb\_open db\_shard\_id=129 error=“[shard 129] sync /var/lib/influxdb/data/\_internal/monitor/129: invalid argument”  
ts=2018-11-19T04:35:29.944781Z lvl=info msg=“Failed to open shard” log\_id=0BrZsVSl000 service=store trace\_id=0BrZsWAl000 op\_name=tsdb\_open db\_shard\_id=126 error=“[shard 126] sync /var/lib/influxdb/data/\_internal/monitor/126: invalid argument”  
ts=2018-11-19T04:35:29.945296Z lvl=info msg=“Failed to open shard” log\_id=0BrZsVSl000 service=store trace\_id=0BrZsWAl000 op\_name=tsdb\_open db\_shard\_id=130 error=“[shard 130] sync /var/lib/influxdb/data/\_internal/monitor/130: invalid argument”  
ts=2018-11-19T04:35:29.990376Z lvl=info msg=“Failed to open shard” log\_id=0BrZsVSl000 service=store trace\_id=0BrZsWAl000 op\_name=tsdb\_open db\_shard\_id=123 error=“[shard 123] sync /var/lib/influxdb/data/\_internal/monitor/123: invalid argument”  
ts=2018-11-19T04:35:30.994764Z lvl=info msg=“Failed to open shard” log\_id=0BrZsVSl000 service=store trace\_id=0BrZsWAl000 op\_name=tsdb\_open db\_shard\_id=131 error="[shard 131] sync /var/lib/influxdb/data/\_internal/monitor/131: invalid argument

I have changed the high version in influx 1.7.1

also I have check it after setting new storage is not existing data file and new storage space. that is working file. and I have tried ti back the data up by dump. but not working

connection error came up like below

[tcp] 2018/11/19 05:30:57 tcp.Mux: handler not ready: 3. Connection from 127.0.0.1:58378 closed  
[tcp] 2018/11/19 05:31:30 tcp.Mux: handler not ready: 3. Connection from 127.0.0.1:58570 closed  
[tcp] 2018/11/19 05:32:02 tcp.Mux: handler not ready: 3. Connection from 127.0.0.1:58770 closed  
[tcp] 2018/11/19 05:32:34 tcp.Mux: handler not ready: 3. Connection from 127.0.0.1:59096 closed  
[tcp] 2018/11/19 05:33:06 tcp.Mux: handler not ready: 3. Connection from 127.0.0.1:59316 closed  
[tcp] 2018/11/19 05:33:39 tcp.Mux: handler not ready: 3. Connection from 127.0.0.1:59518 closed

please let me know if you have any solutions.

thank you

best regards in advanced.

---

<div class="post-metadata">

**Author:** ![MarcV](https://sea1.discourse-cdn.com/flex023/user_avatar/community.influxdata.com/marcv/32/7676_2.png) [@MarcV](https://community.influxdata.com/u/MarcV)\
**Post date:** [November 19, 2018, 6:36am UTC](https://community.influxdata.com/t/127-0-0-1-connect-connection-refused/7476/2 "2018-11-19T06:36:40Z")

</div>

Hi ,  
the first error ( connection refused )  
Is caused by the fact that the Influxdb is not started.

I don’t know how docker works but can you start the database manually with influxd ?

---

<div class="post-metadata">

**Author:** ![darkvalley](https://avatars.discourse-cdn.com/v4/letter/d/ee7513/32.png) [@darkvalley](https://community.influxdata.com/u/darkvalley)\
**Post date:** [November 19, 2018, 6:46am UTC](https://community.influxdata.com/t/127-0-0-1-connect-connection-refused/7476/3 "2018-11-19T06:46:54Z")

</div>

thank you. MarcV,

I have recreated the container for Influx and that is like restarting infkuxdb. Could you please let know how to start database manually with influxd? I wanna try everything.

root@58f4bfb42a93:/etc/influxdb# influx  
Failed to connect to [http://localhost:8086](http://localhost:8086): Get [http://localhost:8086/ping:](http://localhost:8086/ping:) dial tcp 127.0.0.1:8086: connect: connection refused  
Please check your connection settings and ensure ‘influxd’ is running.  
root@58f4bfb42a93:/etc/influxdb# influxd

8888888 .d888 888 8888888b. 888888b.  
888 d88P" 888 888 "Y88b 888 "88b  
888 888 888 888 888 888 .88P  
888 88888b. 888888 888 888 888 888 888 888 888 8888888K.  
888 888 "88b 888 888 888 888 Y8bd8P’ 888 888 888 "Y88b  
888 888 888 888 888 888 888 X88K 888 888 888 888  
888 888 888 888 888 Y88b 888 .d8"“8b. 888 .d88P 888 d88P  
8888888 888 888 888 888 “Y88888 888 888 8888888P” 8888888P”

2018-11-19T06:44:05.097115Z info InfluxDB starting {“log\_id”: “0BrgEVQ0000”, “version”: “1.7.1”, “branch”: “1.7”, “commit”: “cb03c542a4054f0f4d3dc13919d31c456bdb5c39”}  
2018-11-19T06:44:05.097171Z info Go runtime {“log\_id”: “0BrgEVQ0000”, “version”: “go1.11”, “maxprocs”: 8}  
run: open server: listen: listen tcp 127.0.0.1:8088: bind: address already in use  
root@58f4bfb42a93:/etc/influxdb#

---

<div class="post-metadata">

**Author:** ![MarcV](https://sea1.discourse-cdn.com/flex023/user_avatar/community.influxdata.com/marcv/32/7676_2.png) [@MarcV](https://community.influxdata.com/u/MarcV)\
**Post date:** [November 19, 2018, 6:53am UTC](https://community.influxdata.com/t/127-0-0-1-connect-connection-refused/7476/4 "2018-11-19T06:53:31Z")

</div>

I see that you tried to start influxd manually but the logfile says that the bind address is already in use .  
Probably it was not stopped completely before you attempted to start it manually ?

---

<div class="post-metadata">

**Author:** ![darkvalley](https://avatars.discourse-cdn.com/v4/letter/d/ee7513/32.png) [@darkvalley](https://community.influxdata.com/u/darkvalley)\
**Post date:** [November 19, 2018, 9:15am UTC](https://community.influxdata.com/t/127-0-0-1-connect-connection-refused/7476/5 "2018-11-19T09:15:29Z")

</div>

I think that is not started yet. I am not sure that. just guess after check full log. Could you please check the my full log?

# 

[tcp] 2018/11/19 05:33:06 tcp.Mux: handler not ready: 3. Connection from 127.0.0.1:59316 closed  
[tcp] 2018/11/19 05:33:39 tcp.Mux: handler not ready: 3. Connection from 127.0.0.1:59518 closed

these log was happened, when I tried to back it up. so never mind about these log.  
and the other log is showing like still opening the data files. I am not sure. because my data file is 150GB

however, the log is not happened more.

please let me know

## I can not upload log file. so I am sorry about copy and paste like below

(AT BEGINNING OF FILE)  
I1119 14:29:00.260346 116067 exec.cpp:162] Version: 1.4.0  
I1119 14:29:00.263833 116071 exec.cpp:237] Executor registered on agent 3e29cdce-cab3-47ea-b3c6-60585240ef0a-S0  
I1119 14:29:00.264575 116073 executor.cpp:120] Registered docker executor on 192.168.0.166  
I1119 14:29:00.264807 116076 executor.cpp:160] Starting task backuptest\_influxdb.04b43cbb-ebbc-11e8-b0e5-8e04a8224466  
ts=2018-11-19T05:29:01.602111Z lvl=info msg=“InfluxDB starting” log\_id=0BrbwcdW000 version=1.7.1 branch=1.7 commit=cb03c542a4054f0f4d3dc13919d31c456bdb5c39  
ts=2018-11-19T05:29:01.602177Z lvl=info msg=“Go runtime” log\_id=0BrbwcdW000 version=go1.11 maxprocs=8  
ts=2018-11-19T05:29:01.751155Z lvl=info msg=“Using data dir” log\_id=0BrbwcdW000 service=store path=/var/lib/influxdb/data  
ts=2018-11-19T05:29:01.762481Z lvl=info msg=“Compaction settings” log\_id=0BrbwcdW000 service=store max\_concurrent\_compactions=4 throughput\_bytes\_per\_second=50331648 throughput\_bytes\_per\_second\_burst=50331648  
ts=2018-11-19T05:29:01.762510Z lvl=info msg=“Open store (start)” log\_id=0BrbwcdW000 service=store trace\_id=0BrbwdGW000 op\_name=tsdb\_open op\_event=start  
ts=2018-11-19T05:29:02.844522Z lvl=info msg=“Opened file” log\_id=0BrbwcdW000 engine=tsm1 service=filestore path=/var/lib/influxdb/data/\_internal/monitor/129/000000007-000000002.tsm id=0 duration=97.813ms  
ts=2018-11-19T05:29:02.871878Z lvl=info msg=“Opened file” log\_id=0BrbwcdW000 engine=tsm1 service=filestore path=/var/lib/influxdb/data/\_internal/monitor/131/000000002-000000002.tsm id=0 duration=104.985ms  
ts=2018-11-19T05:29:02.872297Z lvl=info msg=“Opened file” log\_id=0BrbwcdW000 engine=tsm1 service=filestore path=/var/lib/influxdb/data/\_internal/monitor/126/000000006-000000002.tsm id=0 duration=125.840ms  
ts=2018-11-19T05:29:02.872416Z lvl=info msg=“Opened file” log\_id=0BrbwcdW000 engine=tsm1 service=filestore path=/var/lib/influxdb/data/\_internal/monitor/123/000000007-000000002.tsm id=0 duration=125.741ms  
ts=2018-11-19T05:29:02.872628Z lvl=info msg=“Opened file” log\_id=0BrbwcdW000 engine=tsm1 service=filestore path=/var/lib/influxdb/data/\_internal/monitor/128/000000004-000000003.tsm id=0 duration=126.172ms  
ts=2018-11-19T05:29:02.900923Z lvl=info msg=“Opened file” log\_id=0BrbwcdW000 engine=tsm1 service=filestore path=/var/lib/influxdb/data/\_internal/monitor/125/000000007-000000002.tsm id=0 duration=145.406ms  
ts=2018-11-19T05:29:02.912476Z lvl=info msg=“Opened file” log\_id=0BrbwcdW000 engine=tsm1 service=filestore path=/var/lib/influxdb/data/\_internal/monitor/124/000000007-000000002.tsm id=0 duration=156.709ms  
ts=2018-11-19T05:29:02.912732Z lvl=info msg=“Opened file” log\_id=0BrbwcdW000 engine=tsm1 service=filestore path=/var/lib/influxdb/data/\_internal/monitor/130/000000008-000000003.tsm id=0 duration=166.213ms  
ts=2018-11-19T05:29:02.919206Z lvl=info msg=“Opened file” log\_id=0BrbwcdW000 engine=tsm1 service=filestore path=/var/lib/influxdb/data/\_internal/monitor/131/000000004-000000001.tsm id=1 duration=47.235ms  
ts=2018-11-19T05:29:02.985876Z lvl=info msg=“Reading file” log\_id=0BrbwcdW000 engine=tsm1 service=cacheloader path=/var/lib/influxdb/wal/\_internal/monitor/131/\_00009.wal size=9154911  
ts=2018-11-19T05:29:13.350745Z lvl=info msg=“Opened shard” log\_id=0BrbwcdW000 service=store trace\_id=0BrbwdGW000 op\_name=tsdb\_open index\_version=inmem path=/var/lib/influxdb/data/\_internal/monitor/131 duration=10858.008ms  
ts=2018-11-19T05:29:13.350775Z lvl=info msg=“Opened shard” log\_id=0BrbwcdW000 service=store trace\_id=0BrbwdGW000 op\_name=tsdb\_open index\_version=inmem path=/var/lib/influxdb/data/\_internal/monitor/124 duration=10858.005ms  
ts=2018-11-19T05:29:13.350792Z lvl=info msg=“Opened shard” log\_id=0BrbwcdW000 service=store trace\_id=0BrbwdGW000 op\_name=tsdb\_open index\_version=inmem path=/var/lib/influxdb/data/\_internal/monitor/129 duration=10858.110ms  
ts=2018-11-19T05:29:13.350805Z lvl=info msg=“Opened shard” log\_id=0BrbwcdW000 service=store trace\_id=0BrbwdGW000 op\_name=tsdb\_open index\_version=inmem path=/var/lib/influxdb/data/\_internal/monitor/123 duration=10858.007ms  
ts=2018-11-19T05:29:13.350756Z lvl=info msg=“Opened shard” log\_id=0BrbwcdW000 service=store trace\_id=0BrbwdGW000 op\_name=tsdb\_open index\_version=inmem path=/var/lib/influxdb/data/\_internal/monitor/128 duration=10857.941ms  
ts=2018-11-19T05:29:13.350759Z lvl=info msg=“Opened shard” log\_id=0BrbwcdW000 service=store trace\_id=0BrbwdGW000 op\_name=tsdb\_open index\_version=inmem path=/var/lib/influxdb/data/\_internal/monitor/125 duration=10857.511ms  
ts=2018-11-19T05:29:13.350794Z lvl=info msg=“Opened shard” log\_id=0BrbwcdW000 service=store trace\_id=0BrbwdGW000 op\_name=tsdb\_open index\_version=inmem path=/var/lib/influxdb/data/\_internal/monitor/126 duration=10858.132ms  
ts=2018-11-19T05:29:13.351103Z lvl=info msg=“Opened shard” log\_id=0BrbwcdW000 service=store trace\_id=0BrbwdGW000 op\_name=tsdb\_open index\_version=inmem path=/var/lib/influxdb/data/\_internal/monitor/130 duration=10858.396ms  
ts=2018-11-19T05:29:14.670090Z lvl=info msg=“Opened file” log\_id=0BrbwcdW000 engine=tsm1 service=filestore path=/var/lib/influxdb/data/nexclipper/autogen/23/000000307-000000004.tsm id=1 duration=1065.790ms  
ts=2018-11-19T05:29:14.670321Z lvl=info msg=“Opened file” log\_id=0BrbwcdW000 engine=tsm1 service=filestore path=/var/lib/influxdb/data/nexclipper/autogen/23/000000307-000000003.tsm id=0 duration=1085.214ms  
ts=2018-11-19T05:29:14.670634Z lvl=info msg=“Opened file” log\_id=0BrbwcdW000 engine=tsm1 service=filestore path=/var/lib/influxdb/data/nexclipper/autogen/2/000000242-000000004.tsm id=0 duration=1081.972ms  
ts=2018-11-19T05:29:14.670848Z lvl=info msg=“Opened file” log\_id=0BrbwcdW000 engine=tsm1 service=filestore path=/var/lib/influxdb/data/nexclipper/autogen/15/000000270-000000003.tsm id=0 duration=1085.544ms  
ts=2018-11-19T05:29:14.671050Z lvl=info msg=“Opened file” log\_id=0BrbwcdW000 engine=tsm1 service=filestore path=/var/lib/influxdb/data/nexclipper/autogen/111/000000748-000000005.tsm id=0 duration=1082.886ms  
ts=2018-11-19T05:29:15.858759Z lvl=info msg=“Reading file” log\_id=0BrbwcdW000 engine=tsm1 service=cacheloader path=/var/lib/influxdb/wal/\_internal/monitor/132/\_00001.wal size=71051  
ts=2018-11-19T05:29:16.090664Z lvl=info msg=“Opened file” log\_id=0BrbwcdW000 engine=tsm1 service=filestore path=/var/lib/influxdb/data/nexclipper/autogen/119/000000889-000000006.tsm id=1 duration=1419.550ms  
ts=2018-11-19T05:29:16.090692Z lvl=info msg=“Opened file” log\_id=0BrbwcdW000 engine=tsm1 service=filestore path=/var/lib/influxdb/data/nexclipper/autogen/127/000000403-000000005.tsm id=0 duration=1419.404ms  
ts=2018-11-19T05:29:16.112052Z lvl=info msg=“Opened file” log\_id=0BrbwcdW000 engine=tsm1 service=filestore path=/var/lib/influxdb/data/nexclipper/autogen/111/000000748-000000006.tsm id=1 duration=1441.790ms  
ts=2018-11-19T05:29:16.166146Z lvl=info msg=“Opened file” log\_id=0BrbwcdW000 engine=tsm1 service=filestore path=/var/lib/influxdb/data/nexclipper/autogen/119/000000889-000000005.tsm id=0 duration=1495.457ms  
ts=2018-11-19T05:29:16.166151Z lvl=info msg=“Opened file” log\_id=0BrbwcdW000 engine=tsm1 service=filestore path=/var/lib/influxdb/data/nexclipper/autogen/111/000000748-000000007.tsm id=2 duration=1495.231ms  
ts=2018-11-19T05:29:17.986239Z lvl=info msg=“Opened file” log\_id=0BrbwcdW000 engine=tsm1 service=filestore path=/var/lib/influxdb/data/nexclipper/autogen/103/000000801-000000003.tsm id=0 duration=1895.454ms  
ts=2018-11-19T05:29:17.986219Z lvl=info msg=“Opened file” log\_id=0BrbwcdW000 engine=tsm1 service=filestore path=/var/lib/influxdb/data/nexclipper/autogen/119/000000889-000000007.tsm id=2 duration=1874.095ms  
ts=2018-11-19T05:29:19.586891Z lvl=info msg=“Opened shard” log\_id=0BrbwcdW000 service=store trace\_id=0BrbwdGW000 op\_name=tsdb\_open index\_version=inmem path=/var/lib/influxdb/data/\_internal/monitor/132 duration=6236.023ms  
ts=2018-11-19T05:29:22.727119Z lvl=info msg=“Opened file” log\_id=0BrbwcdW000 engine=tsm1 service=filestore path=/var/lib/influxdb/data/nexclipper/autogen/119/000000889-000000008.tsm id=3 duration=4740.765ms  
ts=2018-11-19T05:29:24.141839Z lvl=info msg=“Opened file” log\_id=0BrbwcdW000 engine=tsm1 service=filestore path=/var/lib/influxdb/data/nexclipper/autogen/119/000000889-000000009.tsm id=4 duration=6154.229ms  
ts=2018-11-19T05:29:24.722141Z lvl=info msg=“Opened file” log\_id=0BrbwcdW000 engine=tsm1 service=filestore path=/var/lib/influxdb/data/nexclipper/autogen/23/000000307-000000005.tsm id=2 duration=11119.030ms  
ts=2018-11-19T05:29:25.584772Z lvl=info msg=“Opened file” log\_id=0BrbwcdW000 engine=tsm1 service=filestore path=/var/lib/influxdb/data/nexclipper/autogen/111/000000748-000000009.tsm id=4 duration=9418.473ms  
ts=2018-11-19T05:29:25.651865Z lvl=info msg=“Opened file” log\_id=0BrbwcdW000 engine=tsm1 service=filestore path=/var/lib/influxdb/data/nexclipper/autogen/111/000000748-000000008.tsm id=3 duration=9561.055ms  
ts=2018-11-19T05:29:26.355287Z lvl=info msg=“Opened file” log\_id=0BrbwcdW000 engine=tsm1 service=filestore path=/var/lib/influxdb/data/nexclipper/autogen/103/000000801-000000004.tsm id=1 duration=1633.051ms  
ts=2018-11-19T05:29:26.968219Z lvl=info msg=“Opened file” log\_id=0BrbwcdW000 engine=tsm1 service=filestore path=/var/lib/influxdb/data/nexclipper/autogen/127/000000403-000000006.tsm id=1 duration=4240.991ms  
ts=2018-11-19T05:29:30.392500Z lvl=info msg=“Opened file” log\_id=0BrbwcdW000 engine=tsm1 service=filestore path=/var/lib/influxdb/data/nexclipper/autogen/103/000000801-000000005.tsm id=2 duration=4037.084ms  
ts=2018-11-19T05:29:31.995793Z lvl=info msg=“Opened file” log\_id=0BrbwcdW000 engine=tsm1 service=filestore path=/var/lib/influxdb/data/nexclipper/autogen/2/000000242-000000005.tsm id=1 duration=18394.704ms  
ts=2018-11-19T05:29:33.244945Z lvl=info msg=“Opened file” log\_id=0BrbwcdW000 engine=tsm1 service=filestore path=/var/lib/influxdb/data/nexclipper/autogen/15/000000270-000000004.tsm id=1 duration=19649.107ms  
ts=2018-11-19T05:29:34.884518Z lvl=info msg=“Opened file” log\_id=0BrbwcdW000 engine=tsm1 service=filestore path=/var/lib/influxdb/data/nexclipper/autogen/127/000000403-000000007.tsm id=2 duration=9299.635ms  
ts=2018-11-19T05:29:37.691439Z lvl=info msg=“Opened file” log\_id=0BrbwcdW000 engine=tsm1 service=filestore path=/var/lib/influxdb/data/nexclipper/autogen/119/000000889-000000010.tsm id=5 duration=13549.440ms  
ts=2018-11-19T05:29:41.646547Z lvl=info msg=“Opened file” log\_id=0BrbwcdW000 engine=tsm1 service=filestore path=/var/lib/influxdb/data/nexclipper/autogen/103/000000801-000000006.tsm id=3 duration=9650.624ms  
ts=2018-11-19T05:29:48.174557Z lvl=info msg=“Opened file” log\_id=0BrbwcdW000 engine=tsm1 service=filestore path=/var/lib/influxdb/data/nexclipper/autogen/119/000000889-000000012.tsm id=7 duration=21206.261ms  
ts=2018-11-19T05:29:56.655201Z lvl=info msg=“Opened file” log\_id=0BrbwcdW000 engine=tsm1 service=filestore path=/var/lib/influxdb/data/nexclipper/autogen/119/000000889-000000011.tsm id=6 duration=30591.762ms  
ts=2018-11-19T05:29:58.472370Z lvl=info msg=“Opened file” log\_id=0BrbwcdW000 engine=tsm1 service=filestore path=/var/lib/influxdb/data/nexclipper/autogen/103/000000801-000000007.tsm id=4 duration=23587.754ms  
ts=2018-11-19T05:29:58.585042Z lvl=info msg=“Opened file” log\_id=0BrbwcdW000 engine=tsm1 service=filestore path=/var/lib/influxdb/data/nexclipper/autogen/55/000001203-000000003.tsm id=0 duration=7490.374ms  
ts=2018-11-19T05:30:01.965193Z lvl=info msg=“Opened file” log\_id=0BrbwcdW000 engine=tsm1 service=filestore path=/var/lib/influxdb/data/nexclipper/autogen/127/000000452-000000004.tsm id=5 duration=24273.435ms  
ts=2018-11-19T05:30:02.022437Z lvl=info msg=“Opened file” log\_id=0BrbwcdW000 engine=tsm1 service=filestore path=/var/lib/influxdb/data/nexclipper/autogen/111/000000748-000000010.tsm id=5 duration=45856.194ms  
ts=2018-11-19T05:30:04.635726Z lvl=info msg=“Opened file” log\_id=0BrbwcdW000 engine=tsm1 service=filestore path=/var/lib/influxdb/data/nexclipper/autogen/127/000000436-000000005.tsm id=4 duration=31390.630ms  
ts=2018-11-19T05:30:06.001707Z lvl=info msg=“Opened file” log\_id=0BrbwcdW000 engine=tsm1 service=filestore path=/var/lib/influxdb/data/nexclipper/autogen/55/000001203-000000004.tsm id=1 duration=9346.410ms  
ts=2018-11-19T05:30:15.024227Z lvl=info msg=“Opened file” log\_id=0BrbwcdW000 engine=tsm1 service=filestore path=/var/lib/influxdb/data/nexclipper/autogen/55/000001203-000000005.tsm id=2 duration=16551.659ms  
ts=2018-11-19T05:30:19.622376Z lvl=info msg=“Opened file” log\_id=0BrbwcdW000 engine=tsm1 service=filestore path=/var/lib/influxdb/data/nexclipper/autogen/103/000000801-000000008.tsm id=5 duration=37975.671ms  
ts=2018-11-19T05:30:26.823422Z lvl=info msg=“Opened file” log\_id=0BrbwcdW000 engine=tsm1 service=filestore path=/var/lib/influxdb/data/nexclipper/autogen/55/000001203-000000006.tsm id=3 duration=24858.106ms  
ts=2018-11-19T05:30:28.233453Z lvl=info msg=“Opened file” log\_id=0BrbwcdW000 engine=tsm1 service=filestore path=/var/lib/influxdb/data/nexclipper/autogen/55/000001203-000000007.tsm id=4 duration=26210.837ms  
ts=2018-11-19T05:30:32.144027Z lvl=info msg=“Opened file” log\_id=0BrbwcdW000 engine=tsm1 service=filestore path=/var/lib/influxdb/data/nexclipper/autogen/127/000000403-000000008.tsm id=3 duration=61584.481ms  
ts=2018-11-19T05:30:36.064044Z lvl=info msg=“Opened file” log\_id=0BrbwcdW000 engine=tsm1 service=filestore path=/var/lib/influxdb/data/nexclipper/autogen/55/000001203-000000008.tsm id=5 duration=31428.191ms  
ts=2018-11-19T05:30:39.263353Z lvl=info msg=“Opened file” log\_id=0BrbwcdW000 engine=tsm1 service=filestore path=/var/lib/influxdb/data/nexclipper/autogen/55/000001203-000000010.tsm id=7 duration=33170.920ms  
ts=2018-11-19T05:30:39.648028Z lvl=info msg=“Opened file” log\_id=0BrbwcdW000 engine=tsm1 service=filestore path=/var/lib/influxdb/data/nexclipper/autogen/55/000001203-000000009.tsm id=6 duration=34600.740ms  
ts=2018-11-19T05:30:39.993442Z lvl=info msg=“Reading file” log\_id=0BrbwcdW000 engine=tsm1 service=cacheloader path=/var/lib/influxdb/wal/nexclipper/autogen/127/\_01796.wal size=10585744  
ts=2018-11-19T05:30:42.564452Z lvl=info msg=“Opened file” log\_id=0BrbwcdW000 engine=tsm1 service=filestore path=/var/lib/influxdb/data/nexclipper/autogen/55/000001203-000000011.tsm id=8 duration=27540.132ms  
ts=2018-11-19T05:30:45.367446Z lvl=info msg=“Opened file” log\_id=0BrbwcdW000 engine=tsm1 service=filestore path=/var/lib/influxdb/data/nexclipper/autogen/55/000001203-000000012.tsm id=9 duration=25744.946ms  
ts=2018-11-19T05:30:51.121260Z lvl=info msg=“Reading file” log\_id=0BrbwcdW000 engine=tsm1 service=cacheloader path=/var/lib/influxdb/wal/nexclipper/autogen/127/\_01797.wal size=10921603  
[tcp] 2018/11/19 05:30:57 tcp.Mux: handler not ready: 3. Connection from 127.0.0.1:58378 closed  
[tcp] 2018/11/19 05:31:30 tcp.Mux: handler not ready: 3. Connection from 127.0.0.1:58570 closed  
[tcp] 2018/11/19 05:32:02 tcp.Mux: handler not ready: 3. Connection from 127.0.0.1:58770 closed  
[tcp] 2018/11/19 05:32:34 tcp.Mux: handler not ready: 3. Connection from 127.0.0.1:59096 closed  
[tcp] 2018/11/19 05:33:06 tcp.Mux: handler not ready: 3. Connection from 127.0.0.1:59316 closed  
[tcp] 2018/11/19 05:33:39 tcp.Mux: handler not ready: 3. Connection from 127.0.0.1:59518 closed  
[tcp] 2018/11/19 05:34:12 tcp.Mux: handler not ready: 3. Connection from 127.0.0.1:59710 closed  
[tcp] 2018/11/19 05:34:45 tcp.Mux: handler not ready: 3. Connection from 127.0.0.1:60068 closed  
[tcp] 2018/11/19 05:35:28 tcp.Mux: handler not ready: 3. Connection from 127.0.0.1:60320 closed  
[tcp] 2018/11/19 05:36:43 tcp.Mux: handler not ready: 3. Connection from 127.0.0.1:60922 closed  
ts=2018-11-19T06:00:04.660660Z lvl=info msg=“Opened shard” log\_id=0BrbwcdW000 service=store trace\_id=0BrbwdGW000 op\_name=tsdb\_open index\_version=inmem path=/var/lib/influxdb/data/nexclipper/autogen/23 duration=1851309.829ms  
ts=2018-11-19T06:01:55.823226Z lvl=info msg=“Opened file” log\_id=0BrbwcdW000 engine=tsm1 service=filestore path=/var/lib/influxdb/data/nexclipper/autogen/31/000000319-000000003.tsm id=0 duration=6984.592ms  
ts=2018-11-19T06:02:02.482223Z lvl=info msg=“Opened file” log\_id=0BrbwcdW000 engine=tsm1 service=filestore path=/var/lib/influxdb/data/nexclipper/autogen/31/000000319-000000004.tsm id=1 duration=9915.893ms  
ts=2018-11-19T06:02:47.209189Z lvl=info msg=“Opened file” log\_id=0BrbwcdW000 engine=tsm1 service=filestore path=/var/lib/influxdb/data/nexclipper/autogen/31/000000319-000000005.tsm id=2 duration=50832.431ms  
ts=2018-11-19T06:20:45.725311Z lvl=info msg=“Opened shard” log\_id=0BrbwcdW000 service=store trace\_id=0BrbwdGW000 op\_name=tsdb\_open index\_version=inmem path=/var/lib/influxdb/data/nexclipper/autogen/2 duration=3092374.170ms  
ts=2018-11-19T06:22:51.568812Z lvl=info msg=“Opened file” log\_id=0BrbwcdW000 engine=tsm1 service=filestore path=/var/lib/influxdb/data/nexclipper/autogen/39/000000261-000000003.tsm id=0 duration=9052.718ms  
ts=2018-11-19T06:23:51.946294Z lvl=info msg=“Opened file” log\_id=0BrbwcdW000 engine=tsm1 service=filestore path=/var/lib/influxdb/data/nexclipper/autogen/39/000000261-000000004.tsm id=1 duration=65427.327ms

---

<div class="post-metadata">

**Author:** ![MarcV](https://sea1.discourse-cdn.com/flex023/user_avatar/community.influxdata.com/marcv/32/7676_2.png) [@MarcV](https://community.influxdata.com/u/MarcV)\
**Post date:** [November 19, 2018, 9:28am UTC](https://community.influxdata.com/t/127-0-0-1-connect-connection-refused/7476/6 "2018-11-19T09:28:43Z")

</div>

The logs look good … the database is still starting up … I think you have to wait until all files are opened and then try an influx connection …  
After that you can stop the database and start it again not manually but as you did before ( from within docker ?)

---

<div class="post-metadata">

**Author:** ![darkvalley](https://avatars.discourse-cdn.com/v4/letter/d/ee7513/32.png) [@darkvalley](https://community.influxdata.com/u/darkvalley)\
**Post date:** [November 19, 2018, 4:25pm UTC](https://community.influxdata.com/t/127-0-0-1-connect-connection-refused/7476/7 "2018-11-19T16:25:50Z")

</div>

> [@MarcV](#):
>
> The logs look good … the database is still starting up … I think you have to wait until all files are opened and then try an influx connection …  
> After that you can stop the database and start it again not manually but as you did before ( from within docker ?)

thank you for help. I am still waiting until all data file is opened. and I will try connect it after done.  
it will take long time. I am not sure why it is so slow. I will let you know after I am done.

thank you so much for your help again.

---

<div class="post-metadata">

**Author:** ![hedingliang](https://sea1.discourse-cdn.com/flex023/user_avatar/community.influxdata.com/hedingliang/32/14914_2.png) [@hedingliang](https://community.influxdata.com/u/hedingliang)\
**Post date:** [January 15, 2024, 7:31am UTC](https://community.influxdata.com/t/127-0-0-1-connect-connection-refused/7476/8 "2024-01-15T07:31:56Z")

</div>

maybe you use [http://localhost:8086](http://localhost:8086), you must use real ip like: [http://192.68.1.100:8086](http://192.68.1.100:8086), in docker container, localhost resolve to 127.0.0.1 which is the container itself
