MinimServer Forum
Port 9790 on two NAS Synology - Printable Version

+- MinimServer Forum (https://forum.minimserver.com)
+-- Forum: MinimServer (/forumdisplay.php?fid=1)
+--- Forum: Support (/forumdisplay.php?fid=4)
+--- Thread: Port 9790 on two NAS Synology (/showthread.php?tid=7047)

Pages: 1 2


RE: Port 9790 on two NAS Synology - Jeels - 06-11-2023 17:17

(06-11-2023 16:48)simoncn Wrote:  I have tried this and I see the same as you. The port value goes back to 9790 after Save and stays as 9790 after Restart. To activate the new port number, it is necessary to completely stop MinimServer from the NAS App Center or Package Center and start MinimServer again.

For now, you can use this as a workaround. I will investigate why it isn't working as expected.

That's what I did and you can clearly see port 9797 in minimserver.config, but after opening the port in my router box it doesn't work. Looks like the minimserver is still pointing to port 9790.


RE: Port 9790 on two NAS Synology - simoncn - 06-11-2023 17:41

You need to completely stop MinimServer from the App Center or Package Center of your NAS and start MinimServer again. MinimServer will then use and show the correct port.


RE: Port 9790 on two NAS Synology - Jeels - 06-11-2023 18:02

(06-11-2023 17:41)simoncn Wrote:  You need to completely stop MinimServer from the App Center or Package Center of your NAS and start MinimServer again. MinimServer will then use and show the correct port.

I did exactly what you told me, but it seems that minimserver remains on port 9790, see attached image.


RE: Port 9790 on two NAS Synology - simoncn - 06-11-2023 18:25

The URL shown by Synology is wrong. If you click it, you will find it doesn't work. To get the correct URL, replace 9790 with 9797.


RE: Port 9790 on two NAS Synology - Jeels - 06-11-2023 19:09

(06-11-2023 18:25)simoncn Wrote:  The URL shown by Synology is wrong. If you click it, you will find it doesn't work. To get the correct URL, replace 9790 with 9797.

I managed to reach minimserver by modifying the URL
directly in the address bar.

But I can't change the URL in the NAS.

I'll keep looking tomorrow.

Thank you so much


RE: Port 9790 on two NAS Synology - simoncn - 06-11-2023 20:42

Unfortunately I don't think it is possible for MinimServer to change the port number in the URL shown by Synology. I think this number comes from the adminport line in the /var/packages/MinimServer/INFO file. This INFO file is part of the MinimServer Synology package and has file permissions that prevent MinimServer from modifying it at runtime.


RE: Port 9790 on two NAS Synology - Jeels - 07-11-2023 12:18

(06-11-2023 20:42)simoncn Wrote:  Unfortunately I don't think it is possible for MinimServer to change the port number in the URL shown by Synology. I think this number comes from the adminport line in the /var/packages/MinimServer/INFO file. This INFO file is part of the MinimServer Synology package and has file permissions that prevent MinimServer from modifying it at runtime.

Hello Simon,

I found a solution to my issue, but it was a bit by chance and I don't understand why it works, it must be said that I don't know much about networking.

If I connect to NAS 1 by its IP address, I can modify the settings of minimserver installed on NAS 1.
Likewise, by connecting to the NAS 2 by its IP address I can modify the parameters of the corresponding minimserver.

The ports of both minimservers is 9790 and I have not defined a port in my Box router.

I thank you for your help and your availability.


RE: Port 9790 on two NAS Synology - simoncn - 07-11-2023 13:27

Thanks for posting this. It sounds like the best solution as it enables you to use the standard setup for MinimServer on both your Synology NASs.