# Deploying rocketchat in vm in gcp

**URL:** <https://forums.rocket.chat/t/deploying-rocketchat-in-vm-in-gcp/21818>\
**Category:** Community Ideas\
**Tags:** docker\
**Created:** [March 18, 2025, 5:28pm UTC](https://forums.rocket.chat/t/deploying-rocketchat-in-vm-in-gcp/21818 "2025-03-18T17:28:08Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mark.luna](https://avatars.discourse-cdn.com/v4/letter/m/5e9695/32.png) [@mark.luna](https://forums.rocket.chat/u/mark.luna)\
**Post date:** [March 18, 2025, 5:28pm UTC](https://forums.rocket.chat/t/deploying-rocketchat-in-vm-in-gcp/21818/1 "2025-03-18T17:28:08Z")

</div>

Hi,

Deploying rocketchat in the gcp vm using a custom docker-compose.yml code, yes it is working in localhost:3001 but when I set up a dns to it in the load balancer I encountering 503 error **“upstream connect error or disconnect/reset before headers. retried and the latest reset reason: remote connection failure, transport failure reason: delayed connect error: Connection refused”** and ssl error when trying to curl the created dns.

 ![image](https://us1.discourse-cdn.com/flex021/uploads/rocketchat/original/2X/1/1ca89522abf88bef8df1d153fd8feaaff0e5a717.png)

can anyone with the same issue?
