Communicate between two ecs tasks

I have a requirement where there are two containers, one Windows and one Linux. I want to communicate with Linux container using Windows container.
I have two of these containers running as ECS tasks.
Is there any way in which I can achieve this in AWS?

Source: StackOverflow