Can not access file using response URL from document server

Post Reply
ghartaan
Posts: 2
Joined: Wed Sep 06, 2017 10:57 am

Can not access file using response URL from document server

Post by ghartaan » Wed Sep 06, 2017 11:24 am

I am running document server in a docker container on a linux host machine. I am using conversion service of document server to generate thumbnails for my files. I send a post request to document server and gets back the response in xml. The response is in the following form:

<?xml version="1.0" encoding="utf-8"?>
<FileResult>
<FileUrl>http://172.17.0.2/cache/files/conv_pdf_ ... f</FileUrl>
<Percent>100</Percent>
<EndConvert>True</EndConvert>
</FileResult>

The generated file url
[color=#0000FF]http://172.17.0.2/cache/ ... df[/color]
has the private ip [172.17.0.2] of container so not accessible from outside world.
Is there any way to configure document server so that a client on a remote machine can make a request and can access the generated output file using the response url?

Thanks in advance.

Maxim
Posts: 1751
Joined: Tue Oct 11, 2016 2:34 pm

Re: Can not access file using response URL from document ser

Post by Maxim » Wed Sep 06, 2017 1:36 pm

Hello ghartaan!
See here

Post Reply