[GH-ISSUE #762] changing default port causes test documents not to load (new install) #344

Closed
opened 2026-02-26 10:31:58 +03:00 by kerem · 1 comment
Owner

Originally created by @GravityEcho on GitHub (Aug 18, 2024).
Original GitHub issue: https://github.com/ONLYOFFICE/Docker-DocumentServer/issues/762

Do you want to request a feature or report a bug?
BUG

What is the current behavior?
unable to use custom port

If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem.
the instructions for document server here: https://helpcenter.onlyoffice.com/installation/docs-community-install-docker.aspx

say to use this command:
sudo docker run -i -t -d -p <PORT_NUMBER>:80 --restart=always -e JWT_SECRET=my_jwt_secret onlyoffice/documentserver

When I do that, and change the port to say, 8296, I am unable to get the "test example" to work. Unlike when set to default 80:80, it is successful. The 8296:80 document test page fails when trying to load a document for editing with "warning, the document could not be saved..." and "error the file can not be accessed right now..." and "error download failed...".

What is the expected behavior?
changing port to 8296:80 should work as it claims in instructions and in most other docker containers, the documents should load for editing in test page

Did this work in previous versions of DocumentServer?
unknown if worked in previous version, new user testing

DocumentServer Docker tag:
none (or latest?) using command provided in instructions doesn't include a tag

Host Operating System:
docker

Originally created by @GravityEcho on GitHub (Aug 18, 2024). Original GitHub issue: https://github.com/ONLYOFFICE/Docker-DocumentServer/issues/762 **Do you want to request a *feature* or report a *bug*?** BUG **What is the current behavior?** unable to use custom port **If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem.** the instructions for document server here: https://helpcenter.onlyoffice.com/installation/docs-community-install-docker.aspx say to use this command: sudo docker run -i -t -d -p <PORT_NUMBER>:80 --restart=always -e JWT_SECRET=my_jwt_secret onlyoffice/documentserver When I do that, and change the port to say, 8296, I am unable to get the "test example" to work. Unlike when set to default 80:80, it is successful. The 8296:80 document test page fails when trying to load a document for editing with "warning, the document could not be saved..." and "error the file can not be accessed right now..." and "error download failed...". **What is the expected behavior?** changing port to 8296:80 should work as it claims in instructions and in most other docker containers, the documents should load for editing in test page **Did this work in previous versions of DocumentServer?** unknown if worked in previous version, new user testing **DocumentServer Docker tag:** none (or latest?) using command provided in instructions doesn't include a tag **Host Operating System:** docker
kerem closed this issue 2026-02-26 10:31:58 +03:00
Author
Owner

@GravityEcho commented on GitHub (Aug 19, 2024):

I may have figured out my issue if I specify the IP address ahead of the custom port like 192.168.0.200:8296:80 it will work. Wasn't working (documents wouldn't load) if this wasn't specified.

<!-- gh-comment-id:2296849408 --> @GravityEcho commented on GitHub (Aug 19, 2024): I may have figured out my issue if I specify the IP address ahead of the custom port like 192.168.0.200:8296:80 it will work. Wasn't working (documents wouldn't load) if this wasn't specified.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/Docker-DocumentServer-ONLYOFFICE#344
No description provided.