# No connection could be made because the target machine actively refused it

**URL:** <https://forum.pydio.com/t/no-connection-could-be-made-because-the-target-machine-actively-refused-it/3896>\
**Category:** Sync Client\
**Created:** [June 9, 2021, 3:50pm UTC](https://forum.pydio.com/t/no-connection-could-be-made-because-the-target-machine-actively-refused-it/3896 "2021-06-09T15:50:13Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Teal\_c](https://yyz2.discourse-cdn.com/flex032/user_avatar/forum.pydio.com/teal_c/32/1460_2.png) [@Teal\_c](https://forum.pydio.com/u/Teal_c)\
**Post date:** [June 9, 2021, 3:50pm UTC](https://forum.pydio.com/t/no-connection-could-be-made-because-the-target-machine-actively-refused-it/3896/1 "2021-06-09T15:50:13Z")

</div>

Hello, i am running Pydio on docker with reverse proxy from 8080 to [https://fqdn](https://fqdn)

this is my docker-compose alternative file which my saas uses it to covert to docker-compose file

```auto
captainVersion: 4
services:
    # Pydio
    $$cap_appname:
        image: pydio/cells:$$cap_pydio_version
        environment:
            CELLS_LOG_LEVEL: 'production'
            CELLS_BIND: ':8080'
            CELLS_NO_TLS: '1'
            CELLS_EXTERNAL: https://$$cap_appname.$$cap_root_domain
        volumes:
            - $$cap_appname-data:/var/cells/data
            - $$cap_appname-cellsdir:/var/cells
        caproverExtra:
            containerHttpPort: '8080'
    # MariaDB
    $$cap_appname-mariadb:
        image: mariadb:$$cap_mariadb_version
        environment:
            MYSQL_RANDOM_ROOT_PASSWORD: '1'
            MYSQL_DATABASE: $$cap_mariadb-db
            MYSQL_USER: $$cap_mariadb-user
            MYSQL_PASSWORD: $$cap_mariadb-pass
        volumes:
            - $$cap_appname-mariadb-data:/var/lib/mysql
        caproverExtra:
            notExposeAsWebApp: 'true'
caproverOneClickApp:
    variables:
        - id: $$cap_pydio_version
          label: Pydio Version
          defaultValue: '2.2.8'
          description: Checkout their docker page for the valid tags https://hub.docker.com/r/pydio/cells/tags
          validRegex: /^([^\s^\/])+$/
        - id: $$cap_mariadb_version
          label: MariaDB Version
          defaultValue: '10.6.1'
          description: Checkout their docker page for the valid tags https://hub.docker.com/r/library/mariadb/tags/
          validRegex: /^([^\s^\/])+$/
        - id: $$cap_mariadb-db
          label: MariaDB Database
          description: Database name for Pydio
          defaultValue: 'pydio'
        - id: $$cap_mariadb-user
          label: MariaDB User
          description: Database User for Pydio
          defaultValue: 'pydio'
        - id: $$cap_mariadb-pass
          label: MariaDB database user password
          description: Super secret database user password
    instructions:
        start: >-
            Pydio Cells is the nextgen file sharing platform for organizations. It is a full rewrite of the Pydio project using the Go language following a microservice architecture.
        end: >-
            Aaaand you're done! 😄
            Your service is available at https://$$cap_appname.$$cap_root_domain
            Don't forget to enable HTTPS !
    displayName: ''
    isOfficial: true
    baseUrl: https://pydio.com/
    description: Privacy-conscious file sharing platform that connects all your teams in one place.
    documentation: Taken from https://hub.docker.com/r/pydio/cells

```

its working fine  
now i installed the Cells sync client

connected my account  
but when i try to select a folder path, i get the following error

`all SubConns are in TransientFailure, latest connection error: connection error: desc = "transport: Error while dialing dial tcp 135. **.**.36:39793: connectex: No connection could be made because the target machine actively refused it."`

i thought it was a port issue, so i opened port binded port 39793:39793  
but then pydio wont work

How can fix this issue ?

---

<div class="post-metadata">

**Author:** ![zayn](https://avatars.discourse-cdn.com/v4/letter/z/a87d85/32.png) [@zayn](https://forum.pydio.com/u/zayn)\
**Post date:** [June 16, 2021, 10:30am UTC](https://forum.pydio.com/t/no-connection-could-be-made-because-the-target-machine-actively-refused-it/3896/3 "2021-06-16T10:30:43Z")

</div>

Hello @Teal_c ,

Could you tell me which reverse proxy are you using ?

Your configuration seems right, the requirement for cells-sync are:

- to have TLS enabled (you seem to have the requirement on)

It could be related to your reverse-proxy config you have to proxy the grpc also,  
Take a look at this article (about nginx) it should give you more hints

- [Running Cells behind a Nginx reverse proxy | Pydio](https://pydio.com/en/docs/kb/deployment/running-cells-behind-nginx-reverse-proxy)

---

<div class="post-metadata">

**Author:** ![bsinou](https://yyz2.discourse-cdn.com/flex032/user_avatar/forum.pydio.com/bsinou/32/476_2.png) [@bsinou](https://forum.pydio.com/u/bsinou)\
**Post date:** [June 21, 2021, 7:59am UTC](https://forum.pydio.com/t/no-connection-could-be-made-because-the-target-machine-actively-refused-it/3896/4 "2021-06-21T07:59:44Z")

</div>

Hello,

Also from your config file, it seems like you are trying to use MariaDB 10.6.  
We have never tested it with Cells (to be honest, I was not aware it was out, but we will check)

Could you please already quickly try with an older version (most of the known installs use 10.3 and 10.4) ?

---

<div class="post-metadata">

**Author:** ![Teal\_c](https://yyz2.discourse-cdn.com/flex032/user_avatar/forum.pydio.com/teal_c/32/1460_2.png) [@Teal\_c](https://forum.pydio.com/u/Teal_c)\
**Post date:** [June 25, 2021, 5:42am UTC](https://forum.pydio.com/t/no-connection-could-be-made-because-the-target-machine-actively-refused-it/3896/5 "2021-06-25T05:42:11Z")

</div>

Thanks grpc was the fix !
