# Allow to configure the host of the (remote) office server

**URL:** <https://forum.xwiki.org/t/allow-to-configure-the-host-of-the-remote-office-server/11123>\
**Category:** Development\
**Tags:** configuration, office-server\
**Created:** [October 2, 2022, 8:38pm UTC](https://forum.xwiki.org/t/allow-to-configure-the-host-of-the-remote-office-server/11123 "2022-10-02T20:38:49Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ClemensRobbenhaar](https://forum.xwiki.org/user_avatar/forum.xwiki.org/clemensrobbenhaar/32/930_2.png) [@ClemensRobbenhaar](https://forum.xwiki.org/u/ClemensRobbenhaar)\
**Post date:** [October 2, 2022, 8:38pm UTC](https://forum.xwiki.org/t/allow-to-configure-the-host-of-the-remote-office-server/11123/1 "2022-10-02T20:38:49Z")

</div>

If using a separate office server process (i.e. `openoffice.serverType=1`), the host on which that server runs if hard wired to `127.0.0.1`. There are good reasons for this, namely that the libre-/openoffice software is not really designed to run as a server, and especially cannot handle concurrent requests. It makes little sense to open that service to the network …

… except in the docker world, where one usually has one container for one service, and this container talks to the other container via a local docker network (or so understood). In that case it is useful to be able to set up an external IP for the office server.

Are there any problems if I try to implement such a configuration option (i.e. `openoffice.serverHost = ...` ). Of course this should come with a big warning that this setting does not mean that the office service can be shared among XWiki instances (or any other clients) and is only present for the special case of communication between docker containers, and should be left at its default value otherwise.

---

<div class="post-metadata">

**Author:** ![surli](https://forum.xwiki.org/user_avatar/forum.xwiki.org/surli/32/2687_2.png) [@surli](https://forum.xwiki.org/u/surli)\
**Post date:** [October 27, 2022, 7:44am UTC](https://forum.xwiki.org/t/allow-to-configure-the-host-of-the-remote-office-server/11123/2 "2022-10-27T07:44:35Z")

</div>

> [@ClemensRobbenhaar](#):
>
> Are there any problems if I try to implement such a configuration option (i.e. `openoffice.serverHost = ...` ). Of course this should come with a big warning that this setting does not mean that the office service can be shared among XWiki instances (or any other clients) and is only present for the special case of communication between docker containers, and should be left at its default value otherwise.

So in theory I don’t see a problem with that, the only thing I’m not sure about is how would it work especially for images to be embedded. AFAIR we’re relying on the path on the local host to embed images, so you might have problems when exporting documents using a remote office server.
