I installed it from the module, I configure the host property but I can’t change the other settings “Document Editing service” and “Server address for internal requests from the Document Editing Service”.
When I disable 8082 port forwarding, I also get two rows. Can you please check your port forwarding setting?
[root@gateway ~]# iptables -S | grep 8082
-A loc2fw -p tcp -m multiport --dports 8082,80,443,980 -m comment --comment “fw_onlyoffice, httpd, httpd-admin” -j ACCEPT
-A net2fw -p tcp -m multiport --dports 8082,80,443,980,22 -m comment --comment “fw_onlyoffice, httpd, httpd-admin, sshd” -j ACCEPT
Something weird is going on. I have opened up 8999, 8081, 18080 and forwarded them all to a tomcat installation and they all work. Please try with http:// not https://
How can I change onlyoffice to use port 8081 instead of 8082 since we know for sure its not blocked?
I spoke with the ISP person again and was told again that they block no ports.
And you have to change the port in the Nextcloud onlyoffice app settings.
If it’s possible you may try some old router instead of the Nethserver to see if port forwarding 8082 is working with another device. If it’s not working, there has to be a problem at the providers side.
I made the changes and restarted the services but document server is not running. When I saved the
port changes in the onlyoffice app, it gives ‘cannot connect’ error.
Nginx is up though.
systemctl status nginx
● nginx.service - The nginx HTTP and reverse proxy server
Loaded: loaded (/usr/lib/systemd/system/nginx.service; enabled; vendor preset: disabled)
Active: active (running) since Fri 2018-04-27 12:50:19 CEST; 7min ago
Process: 4796 ExecStart=/usr/sbin/nginx (code=exited, status=0/SUCCESS)
Process: 4793 ExecStartPre=/usr/sbin/nginx -t (code=exited, status=0/SUCCESS)
Process: 4789 ExecStartPre=/usr/bin/rm -f /run/nginx.pid (code=exited, status=0/SUCCESS)
Main PID: 4797 (nginx)
CGroup: /system.slice/nginx.service
├─4797 nginx: master process /usr/sbin/nginx
├─4798 nginx: worker process
├─4799 nginx: worker process
├─4800 nginx: worker process
├─4801 nginx: worker process
├─4802 nginx: worker process
├─4803 nginx: worker process
├─4804 nginx: worker process
├─4805 nginx: worker process
├─4806 nginx: worker process
├─4807 nginx: worker process
├─4808 nginx: worker process
├─4809 nginx: worker process
├─4810 nginx: worker process
├─4811 nginx: worker process
├─4812 nginx: worker process
├─4813 nginx: worker process
└─4814 nginx: cache manager process
Apr 27 12:50:19 gateway.vmakol.lan systemd[1]: Starting The nginx HTTP and reverse proxy server…
Apr 27 12:50:19 gateway.vmakol.lan nginx[4793]: nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
Apr 27 12:50:19 gateway.vmakol.lan nginx[4793]: nginx: configuration file /etc/nginx/nginx.conf test is successful
Apr 27 12:50:19 gateway.vmakol.lan systemd[1]: Started The nginx HTTP and reverse proxy server.
It’s working, I can reach your documentserver on port 8081 now.
The problem is that a reboot/update may reset the onlyoffice port config. I’ll provide an update for the module where you can choose the onlyoffice port via the config db.