Install onlyoffice on different port on the same local IP

I want to install on the same machine which is Ubuntu server, where I also have the cloud system but I used the command to change the port from the installation start and it installs but does not make the change. Is there a way to change it manually or with what command in this OS can I change it. Or I can use Ubuntu and install it from scratch but what is the correct command to tell it which port to listen on.

hey @infinityysteel :handshake:
Could you please clarify the situation a bit more?
What did you install and following which guide?

Unfortunately, I didn’t fully understand what you meant by the tags (FORMS?).

Thank you :hugs:

Use this link.

My intention is that I want to change the port that onlyoffice uses to another… but I have not been able to do so.

My intention is just to change the port…

In that case, you can simply change the port in the Nginx configuration.


And execute the command:
service nginx reload

However, keep in mind that it will reset to the default port (80) during updates ONLYOFFICE Docs.

To change this behavior, you need to add a port to debconf:

To achieve this, you need to have the “debconf-utils” package installed:

sudo apt install debconf-utils

echo onlyoffice-documentserver onlyoffice/ds-port select <PORT_NUMBER> | sudo debconf-set-selections