Interesting, you have them both running as php processes on the same host or are they running in separate processes? In the latter you would need to enter the ip of the relay-container which publishes that port or connect the host port to the container port using the -p parameter of docker