# dial tcp: lookup :53: no such host connecting to fly private machine

**URL:** <https://community.fly.io/t/dial-tcp-lookup-no-such-host-connecting-to-fly-private-machine/20930>\
**Category:** Questions / Help\
**Tags:** machines, gpu, login-only\
**Created:** [July 23, 2024, 9:22pm UTC](https://community.fly.io/t/dial-tcp-lookup-no-such-host-connecting-to-fly-private-machine/20930 "2024-07-23T21:22:04Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![medoror](https://avatars.discourse-cdn.com/v4/letter/m/b782af/32.png) [@medoror](https://community.fly.io/u/medoror)\
**Post date:** [July 23, 2024, 9:22pm UTC](https://community.fly.io/t/dial-tcp-lookup-no-such-host-connecting-to-fly-private-machine/20930/1 "2024-07-23T21:22:04Z")

</div>

Wondering if something change with a recent change? I was following this guide: [Scaling Large Language Models to zero with Ollama · The Fly Blog](https://fly.io/blog/scaling-llm-ollama/) to setup ollama. I was able to deploy the actual ollama server and was able to create a ephemeral machine to connect to the server.

The steps say I should be able to run ollama commands but they are returning no such host errors

 ![image](https://global.discourse-cdn.com/fly1/original/3X/3/b/3b20c56fd6ec4b25b9284fc9251fa53cf6f632dc.png)

Am I missing something? Do i need to open ports to get the tutorial working?

---

<div class="post-metadata">

**Author:** ![khuezy](https://avatars.discourse-cdn.com/v4/letter/k/4da419/32.png) [@khuezy](https://community.fly.io/u/khuezy)\
**Post date:** [July 23, 2024, 9:31pm UTC](https://community.fly.io/t/dial-tcp-lookup-no-such-host-connecting-to-fly-private-machine/20930/2 "2024-07-23T21:31:48Z")

</div>

Assuming there isn’t a bug in the fly blog, you probably typed in the wrong `OLLAMA_HOST` value? It’s trying to hit the `fly.dev:11434` host, which is wrong. It should be hitting the internal flycast host.

---

<div class="post-metadata">

**Author:** ![medoror](https://avatars.discourse-cdn.com/v4/letter/m/b782af/32.png) [@medoror](https://community.fly.io/u/medoror)\
**Post date:** [July 23, 2024, 11:37pm UTC](https://community.fly.io/t/dial-tcp-lookup-no-such-host-connecting-to-fly-private-machine/20930/3 "2024-07-23T23:37:44Z")

</div>

you 100% right. I was not using the flycast address. the problem is between the chair and the keyboard

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/fly1/original/3X/6/e/6e8955d00cb218e186ebbe3a6ab06fefdce15290.svg) [@system](https://community.fly.io/u/system)\
**Post date:** [July 30, 2024, 11:38pm UTC](https://community.fly.io/t/dial-tcp-lookup-no-such-host-connecting-to-fly-private-machine/20930/4 "2024-07-30T23:38:07Z")

</div>

Closed on July 30, 2024, 11:38pm UTC

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
