# Cannot access web (Fastify)

**URL:** <https://community.fly.io/t/cannot-access-web-fastify/5782>\
**Category:** Questions / Help\
**Created:** [June 27, 2022, 11:19am UTC](https://community.fly.io/t/cannot-access-web-fastify/5782 "2022-06-27T11:19:24Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Angga](https://sea1.discourse-cdn.com/fly1/user_avatar/community.fly.io/angga/32/4162_2.png) [@Angga](https://community.fly.io/u/Angga)\
**Post date:** [June 27, 2022, 11:19am UTC](https://community.fly.io/t/cannot-access-web-fastify/5782/1 "2022-06-27T11:19:24Z")

</div>

Hi, I’m trying deploy node project (using fastify v4)

I already run **flyctl launch**. Deploy successfull.

But I cannot reach the web when I hit the endpoint. There is no clue on the logs.

 ![image](https://global.discourse-cdn.com/fly1/original/3X/d/6/d6c145da1e80b1ccd7606fb3405254fcfd876b5a.jpeg)

Need help.

---

<div class="post-metadata">

**Author:** ![greg](https://sea1.discourse-cdn.com/fly1/user_avatar/community.fly.io/greg/32/2119_2.png) [@greg](https://community.fly.io/u/greg)\
**Post date:** [June 27, 2022, 12:32pm UTC](https://community.fly.io/t/cannot-access-web-fastify/5782/2 "2022-06-27T12:32:28Z")

</div>

Hi.

Strange.

I got a sample Fastify app (v3, but not sure what would have changed to break it) working. Maybe take a look to see what differs (e.g Dockerfile, server.js and fly.toml)?

> **[GitHub - gregmsanderson/fly-hello-fastify: A sample Fastify application ready...](https://github.com/gregmsanderson/fly-hello-fastify)**
>
> A sample Fastify application ready to deploy to Fly.io - gregmsanderson/fly-hello-fastify

I wonder if it’s the `::1` 🤔 This was my listen line which worked:

```js
try {
    await fastify.listen(process.env.PORT || 3000, '::')
} catch (err) {
    fastify.log.error(err)
    process.exit(1)
}

```

---

<div class="post-metadata">

**Author:** ![Angga](https://sea1.discourse-cdn.com/fly1/user_avatar/community.fly.io/angga/32/4162_2.png) [@Angga](https://community.fly.io/u/Angga)\
**Post date:** [June 27, 2022, 3:45pm UTC](https://community.fly.io/t/cannot-access-web-fastify/5782/3 "2022-06-27T15:45:07Z")

</div>

Hi, Greg.

Thank you, it’s works!

Something wrong on my Dockerfile, thanks for the help!
