AWS Fargate container not accessible

I've created a Fargate task that has a web server container. The task has an eni which appears to have a public IP. The container definition for the web server has port mapping for port 443. But when I inspect the container, network bindings are not configured. And I cannot access the web server using the public IP address. What am I missing?

enter image description here