# Unable to use windows desktop client to connect to tryton server behind nginx

**URL:** https://discuss.tryton.org/t/unable-to-use-windows-desktop-client-to-connect-to-tryton-server-behind-nginx/5106
**Category:** Developer
**Created:** [March 21, 2022, 8:53am UTC](https://discuss.tryton.org/t/unable-to-use-windows-desktop-client-to-connect-to-tryton-server-behind-nginx/5106 "2022-03-21T08:53:52Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![Amitabh](https://discuss-cdn.tryton.org/letter_avatar_proxy/v4/letter/a/a88e4f/32.png) [@Amitabh](https://discuss.tryton.org/u/Amitabh)
#### Post date: [March 21, 2022, 8:53am UTC](https://discuss.tryton.org/t/unable-to-use-windows-desktop-client-to-connect-to-tryton-server-behind-nginx/5106/1 "2022-03-21T08:53:52Z")

</div>

Good Day All,

I have a trtyon 5.8.3 development server upstream of a nginx instance. Although i am able to connect to sao through web browser, i am unable to connect to the same using a windows desktop client.  
The client version and server versions are same.  
I am getting an error of database not found.  
Is there some configuration that i am missing.  
All help is welcome

---

<div class="post-metadata">

### Author: ![edbo](https://discuss-cdn.tryton.org/letter_avatar_proxy/v4/letter/e/f14d63/32.png) [@edbo](https://discuss.tryton.org/u/edbo)
#### Post date: [March 21, 2022, 11:19am UTC](https://discuss.tryton.org/t/unable-to-use-windows-desktop-client-to-connect-to-tryton-server-behind-nginx/5106/2 "2022-03-21T11:19:18Z")

</div>

The desktop client default connects to port 8000, so if you are using NginX, that port has to be exposed and forwarded to Tryton. Or you add the right port to the `host` in your login window in the desktop client like `host.local:80`.

---

<div class="post-metadata">

### Author: ![pokoli](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/pokoli/32/22_2.png) [@pokoli](https://discuss.tryton.org/u/pokoli)
#### Post date: [March 21, 2022, 11:27am UTC](https://discuss.tryton.org/t/unable-to-use-windows-desktop-client-to-connect-to-tryton-server-behind-nginx/5106/3 "2022-03-21T11:27:01Z")

</div>

> [@Amitabh](#):
>
> I have a trtyon 5.8.3 development server

Please note that 5.8 series are no more supported, you should consider upgrading to 6.0 (LTS version supported for 5 years) or 6.2 version (supported for 1 year) to get security fixes for your version.

Note that we recently published a [security update for all supported series](https://discuss.tryton.org/t/security-release-for-issue11219-and-issue11244/5059) that you server should be vulnerable to.

---

<div class="post-metadata">

### Author: ![ced](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/ced/32/1237_2.png) [@ced](https://discuss.tryton.org/u/ced)
#### Post date: [March 21, 2022, 11:48am UTC](https://discuss.tryton.org/t/unable-to-use-windows-desktop-client-to-connect-to-tryton-server-behind-nginx/5106/4 "2022-03-21T11:48:05Z")

</div>

> [@Amitabh](#):
>
> I am getting an error of database not found.

Maybe there is a typo in the database name or the nginx proxy rules are rewriting the database name in the path such that it is no more valid.

---

<div class="post-metadata">

### Author: ![Amitabh](https://discuss-cdn.tryton.org/letter_avatar_proxy/v4/letter/a/a88e4f/32.png) [@Amitabh](https://discuss.tryton.org/u/Amitabh)
#### Post date: [March 22, 2022, 5:53am UTC](https://discuss.tryton.org/t/unable-to-use-windows-desktop-client-to-connect-to-tryton-server-behind-nginx/5106/5 "2022-03-22T05:53:59Z")

</div>

Thank you for the , help , it worked.  
I completely forgot about the port which was pinged.

---

<div class="post-metadata">

### Author: ![Amitabh](https://discuss-cdn.tryton.org/letter_avatar_proxy/v4/letter/a/a88e4f/32.png) [@Amitabh](https://discuss.tryton.org/u/Amitabh)
#### Post date: [March 22, 2022, 5:54am UTC](https://discuss.tryton.org/t/unable-to-use-windows-desktop-client-to-connect-to-tryton-server-behind-nginx/5106/6 "2022-03-22T05:54:48Z")

</div>

Yes we are currently in development , and will upgrade the server soon.

---

<div class="post-metadata">

### Author: ![Amitabh](https://discuss-cdn.tryton.org/letter_avatar_proxy/v4/letter/a/a88e4f/32.png) [@Amitabh](https://discuss.tryton.org/u/Amitabh)
#### Post date: [March 22, 2022, 5:55am UTC](https://discuss.tryton.org/t/unable-to-use-windows-desktop-client-to-connect-to-tryton-server-behind-nginx/5106/7 "2022-03-22T05:55:43Z")

</div>

Actually we were not pointing to the right port , one i pointed to port 80 at which nginx is listening , it worked.  
Thanks for your inputs.
