# IPFS folder website return 504 Gateway

**URL:** <https://discuss.ipfs.tech/t/ipfs-folder-website-return-504-gateway/13522>\
**Category:** Help\
**Tags:** ipfs-desktop\
**Created:** [February 19, 2022, 2:48am UTC](https://discuss.ipfs.tech/t/ipfs-folder-website-return-504-gateway/13522 "2022-02-19T02:48:18Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![coding95](https://avatars.discourse-cdn.com/v4/letter/c/9de0a6/32.png) [@coding95](https://discuss.ipfs.tech/u/coding95)\
**Post date:** [February 19, 2022, 2:48am UTC](https://discuss.ipfs.tech/t/ipfs-folder-website-return-504-gateway/13522/1 "2022-02-19T02:48:18Z")

</div>

Hi i am new to ipfs , i am trying to upload my website folder in ipfs. However when i try run it showing me 504 Gateway.

Can someone help me?  
Thank you

 ![image](https://us1.discourse-cdn.com/flex020/uploads/ipfs1/original/2X/4/4a9c9dfcb0fbca0f4a89451e20b99d2debb7f2a0.png)

---

<div class="post-metadata">

**Author:** ![ylempereur](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ipfs.tech/ylempereur/32/5528_2.png) [@ylempereur](https://discuss.ipfs.tech/u/ylempereur)\
**Post date:** [February 19, 2022, 2:57am UTC](https://discuss.ipfs.tech/t/ipfs-folder-website-return-504-gateway/13522/2 "2022-02-19T02:57:07Z")

</div>

> **[NAT configuration | IPFS Docs](https://docs.ipfs.io/how-to/nat-configuration/)**
>
> Fix common connection issues by managing your routers NAT and forwarding ports so other IPFS nodes can interact with your node.

---

<div class="post-metadata">

**Author:** ![coding95](https://avatars.discourse-cdn.com/v4/letter/c/9de0a6/32.png) [@coding95](https://discuss.ipfs.tech/u/coding95)\
**Post date:** [February 19, 2022, 3:08am UTC](https://discuss.ipfs.tech/t/ipfs-folder-website-return-504-gateway/13522/3 "2022-02-19T03:08:07Z")

</div>

im sorry , im still quite new . going to router is it where? Thank you

---

<div class="post-metadata">

**Author:** ![ylempereur](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ipfs.tech/ylempereur/32/5528_2.png) [@ylempereur](https://discuss.ipfs.tech/u/ylempereur)\
**Post date:** [February 19, 2022, 5:59pm UTC](https://discuss.ipfs.tech/t/ipfs-folder-website-return-504-gateway/13522/4 "2022-02-19T17:59:52Z")

</div>

Your node needs to be reachable from the internet at large, or others won’t be able to get your content. If you are sitting behind a NAT router, you need to either set up port forwarding (on the router) OR enable relay client (on your node). Once that is done and your node becomes reachable, you’ll be able to access your content from public gateways.

---

<div class="post-metadata">

**Author:** ![Chakl22](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ipfs.tech/chakl22/32/5881_2.png) [@Chakl22](https://discuss.ipfs.tech/u/Chakl22)\
**Post date:** [March 30, 2022, 3:21pm UTC](https://discuss.ipfs.tech/t/ipfs-folder-website-return-504-gateway/13522/5 "2022-03-30T15:21:00Z")

</div>

Can you tell me please how Enable Relay Client?

I’m using IPFS Desktop.

---

<div class="post-metadata">

**Author:** ![ylempereur](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ipfs.tech/ylempereur/32/5528_2.png) [@ylempereur](https://discuss.ipfs.tech/u/ylempereur)\
**Post date:** [March 30, 2022, 3:57pm UTC](https://discuss.ipfs.tech/t/ipfs-folder-website-return-504-gateway/13522/6 "2022-03-30T15:57:39Z")

</div>

> [@Create a block from scratch](https://discuss.ipfs.tech/t/create-a-block-from-scratch/13562/27):
>
> LOL, now you tell me, that can never work smiley OK, we have to use a completely different approach then, forget about port mapping. Edit the config file, in the Swarm.ConnMgr, there’s a RelayClient setting. Make it look like this, then restart the daemon: "RelayClient": { "Enabled": true },
