# Synology DS1019+ docker installed: how to connect?

**URL:** https://discourse.nodered.org/t/synology-ds1019-docker-installed-how-to-connect/15748
**Category:** General
**Created:** [21 September 2019 10:52 UTC](https://discourse.nodered.org/t/synology-ds1019-docker-installed-how-to-connect/15748 "2019-09-21T10:52:33Z")
**Posts on this page:** 10
**Page:** 1

<div class="post-metadata">

### Author: ![jlm70](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/jlm70/32/12258_2.png) [@jlm70](https://discourse.nodered.org/u/jlm70)
#### Post date: [21 September 2019 10:52 UTC](https://discourse.nodered.org/t/synology-ds1019-docker-installed-how-to-connect/15748/1 "2019-09-21T10:52:33Z")

</div>

Dear friends,  
I'm new to Node-red and... kindly ask for an help.

Just installed the official docker on my new DS1019+ NAS. Below attached its instance, listening on port 1880. It runs and seems healthy.

But I cannot open the client: if I try launching [https://10.0.0.50:1880](https://10.0.0.50:1880) I only get an ERR\_CONNECTION\_REFUSED (10.0.0.50 is my local NAS address).

Do you know where I'm failing? Do I need calling a different URL?

Many thanks in advance!  
Gianluca

 ![nodered_docker](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/2X/9/9cd2e1803f2ec29a21d52b44891b2848c214c8c1.png)

---

<div class="post-metadata">

### Author: ![bakman2](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bakman2/32/6207_2.png) [@bakman2](https://discourse.nodered.org/u/bakman2)
#### Post date: [21 September 2019 11:01 UTC](https://discourse.nodered.org/t/synology-ds1019-docker-installed-how-to-connect/15748/2 "2019-09-21T11:01:58Z")

</div>

You need to use port 32768 instead, as that it mapped to the container, you could also map it to 1880

---

<div class="post-metadata">

### Author: ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)
#### Post date: [21 September 2019 12:08 UTC](https://discourse.nodered.org/t/synology-ds1019-docker-installed-how-to-connect/15748/3 "2019-09-21T12:08:44Z")

</div>

You may also need to adjust the NAS's firewall depending on how you are set up.

---

<div class="post-metadata">

### Author: ![jlm70](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/jlm70/32/12258_2.png) [@jlm70](https://discourse.nodered.org/u/jlm70)
#### Post date: [21 September 2019 13:17 UTC](https://discourse.nodered.org/t/synology-ds1019-docker-installed-how-to-connect/15748/4 "2019-09-21T13:17:09Z")

</div>

I tried port 32768, but it doesn't work either (ERR\_CONNECTION\_CLOSED)

---

<div class="post-metadata">

### Author: ![jlm70](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/jlm70/32/12258_2.png) [@jlm70](https://discourse.nodered.org/u/jlm70)
#### Post date: [21 September 2019 13:18 UTC](https://discourse.nodered.org/t/synology-ds1019-docker-installed-how-to-connect/15748/5 "2019-09-21T13:18:59Z")

</div>

I tried completely disabling (for a moment;) the NAS firewall too... but nothing changed ☹

---

<div class="post-metadata">

### Author: ![bakman2](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bakman2/32/6207_2.png) [@bakman2](https://discourse.nodered.org/u/bakman2)
#### Post date: [21 September 2019 13:29 UTC](https://discourse.nodered.org/t/synology-ds1019-docker-installed-how-to-connect/15748/6 "2019-09-21T13:29:35Z")

</div>

Is the container still running ?  
Stop the container, change the port from 32768 to 1880.  
Restart container and retry with `:1880`

---

<div class="post-metadata">

### Author: ![jlm70](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/jlm70/32/12258_2.png) [@jlm70](https://discourse.nodered.org/u/jlm70)
#### Post date: [22 September 2019 10:40 UTC](https://discourse.nodered.org/t/synology-ds1019-docker-installed-how-to-connect/15748/7 "2019-09-22T10:40:59Z")

</div>

I can stop the cointainer, and I can modify the "local port" (initially it is set to automatic, and changes every time).  
Yet I think the local port is only use for the internal (container-NAS) communication, while the "container port" is the one which is meant to be used for client connections: and it is already set to 1880.  
Nonetheless I tried forcing the local port to 1880, but nothing changed.  
I did try to enable a further port (1881), so to have 2 listening ports (1880 and 1881), but I still cannot launch the client on neither of them ☹

Further infos: Node.js v8 package was already installed and running. I did install the "latest" official version of NodeRed docker.

---

<div class="post-metadata">

### Author: ![bakman2](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bakman2/32/6207_2.png) [@bakman2](https://discourse.nodered.org/u/bakman2)
#### Post date: [22 September 2019 10:46 UTC](https://discourse.nodered.org/t/synology-ds1019-docker-installed-how-to-connect/15748/8 "2019-09-22T10:46:28Z")

</div>

The 'local' port means the port you can reach from the OS, which is mapped to a container port.  
So if you map the local port 1880 to 1880, you can reach the 1880 from your browser.

Do not use automatic for services that use a port to communicate (node-red in this case).

---

<div class="post-metadata">

### Author: ![jlm70](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/jlm70/32/12258_2.png) [@jlm70](https://discourse.nodered.org/u/jlm70)
#### Post date: [22 September 2019 23:01 UTC](https://discourse.nodered.org/t/synology-ds1019-docker-installed-how-to-connect/15748/9 "2019-09-22T23:01:09Z")

</div>

Thanks again, bakman2, but... I've put now everything to 1880 and still does not work ☹

---

<div class="post-metadata">

### Author: ![bakman2](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bakman2/32/6207_2.png) [@bakman2](https://discourse.nodered.org/u/bakman2)
#### Post date: [22 September 2019 23:15 UTC](https://discourse.nodered.org/t/synology-ds1019-docker-installed-how-to-connect/15748/10 "2019-09-22T23:15:12Z")

</div>

Restart the container and look at the log.  
btw which docker file are you using ?

If you execute this on the commandline:

```auto
docker run -it -p 1880:1880 --name mynodered nodered/node-red-docker

```

a new (correct) container will be created (perhaps remove the one you have already else it will complain about the ports).
