Question
cfhtmltopdf connection refused?
We migrated our Coldfusion 2023 Windows Server to a new server over the weekend, and "cfhtmltopdf" has stopped working. It can generate a PDF fine and display it, but when actually trying to save it to the server, we get this:
<cfhtmltopdf
destination="c:\filename.pdf"
source="http://#CGI.Server_Name#/filename.html" overwrite="true">
</cfhtmltopdf>
Jan 31, 2024 13:16:12 PM Error [ajp-nio-127.0.0.1-8022-exec-24] - Connect to 127.0.0.1:8995 [/127.0.0.1] failed: Connection refused: connect http://127.0.0.1:8995/PDFgServlet/
Jan 31, 2024 13:16:12 PM Error [ajp-nio-127.0.0.1-8022-exec-24] - Error occurred while generating PDF.
Not sure if this helps, but http://127.0.0.1:8995/PDFgServlet/ brings up:
HTTP ERROR 400 Bad Request
URI: /PDFgServlet/
STATUS: 400
MESSAGE: Bad Request
SERVLET: PDFgServlet
Powered by Jetty:// 9.4.51.v20230217
The service for Coldfusion2023add-onservice is running, and port 8995 is open.
Any ideas/suggestions?
