# Grin miner can't establish server connection

**URL:** <https://forum.grin.mw/t/grin-miner-cant-establish-server-connection/5709>\
**Category:** Mining\
**Created:** [July 30, 2019, 7:59am UTC](https://forum.grin.mw/t/grin-miner-cant-establish-server-connection/5709 "2019-07-30T07:59:01Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![brucehe](https://avatars.discourse-cdn.com/v4/letter/b/3da27b/32.png) [@brucehe](https://forum.grin.mw/u/brucehe)\
**Post date:** [July 30, 2019, 7:59am UTC](https://forum.grin.mw/t/grin-miner-cant-establish-server-connection/5709/1 "2019-07-30T07:59:01Z")

</div>

I have a grin noded running using in the background using Dockerfile. I noticed the port `3416` is exposed in `Dockerfile`. But the `./grin-miner` still can’t connect to `127.0.0.1:3416`. I did attach to docker and find out the grin node is still running. In order for grin-miner to connect the docker grin node, what else needs to be done? I have tried to set the `enable_stratum_server` to true, but I can’t find it in `grin-miner.toml` file.

---

<div class="post-metadata">

**Author:** ![Grin.Fast](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.grin.mw/grin.fast/32/2372_2.png) [@Grin.Fast](https://forum.grin.mw/u/Grin.Fast)\
**Post date:** [July 31, 2019, 4:20am UTC](https://forum.grin.mw/t/grin-miner-cant-establish-server-connection/5709/2 "2019-07-31T04:20:45Z")

</div>

enable\_stratum,\_server you can find in ~/.grin/main/grin-server.toml file for mainnet and in ~/.grin/floo/grin-server.toml becase there are files for grin node server - it must working if you mining on local computer. You must start grin server by ./grin

---

<div class="post-metadata">

**Author:** ![brucehe](https://avatars.discourse-cdn.com/v4/letter/b/3da27b/32.png) [@brucehe](https://forum.grin.mw/u/brucehe)\
**Post date:** [August 6, 2019, 7:43am UTC](https://forum.grin.mw/t/grin-miner-cant-establish-server-connection/5709/3 "2019-08-06T07:43:07Z")

</div>

Thanks, I looked in wrong file.
