Error generating PDF (Export)

Hello…
In a production enviroment, when i try to export a grid to pdf, show this error:

?Objeto no localizado!
No se ha localizado la URL solicitada en este servidor. La URL de la p?gina que le ha remitido parece ser err?nea o estar obsoleta. Por favor, informe del error al autor de esa p?gina.
Si usted cree que esto es un error del servidor, por favor comun?queselo al administrador del portal.
Error 404
cimalvinas.ddns.net
Apache/2.4.29 (Win32) OpenSSL/1.1.0g PHP/7.2.1

In local mode (127.0.0.1:88) the PDF generation work fine…
This app connect from a port strange (40003), by particularity of the ISP of my client…
The PDF generator need some port to work?
Thanks!!!

SOLVED:
The apache port not equal to router port…

Apache port: 88
Router port: 40003…

When execute wkhtmltopdf, the link are not solved, and the PDF not generated.

Good idea to scriptcase developers: In the command line of wkhtmltopdf use local path (localhost) instead remote path (http://mydomain)

Thanks!!!

thx for sharing this solution. Can be useful for other users

Hello

Question, “Command Line of wkhtmltopdf”?

Hello… is intern, in scriptcase code. I solve changing the Apache port…