I am writing my desktop application that has a client-server side model. I'd like to dockerize client side within a container (there's a reason for this btw). But issue is, how would I establish communication between the container and the host? Would it be Container to Host communication, strictly speaking, or Client application to Server application communication within their respective environments?
I understand that I can port, I am interested in figuring out if I'd need any extra steps. I think I am missing a step.
TLDR; How would establish communication between my client side application and server side within docker and host machine respectively?