There's an issue when attempting to perform a cfhttp
call inside of Docker to localhost
on MacOSX.
For some reason, this issue does not appear to exist on Windows. Instead of hitting localhost
, you must use the
"Service Name" as defined in your docker-compose.yml
file, and the container's exposed port
(NOT the one you're using outside of the container).
version: '3.3'
services:
myservice: