ECS fargate container cannot connect to Amazon Managed Blockchain Peer endpoint


We have VPC endpoint setup. I have simplified the connection problem down to a netcat command

when ran directly from an ECS container shell it hangs then times out

$ nc -v nd-wdas<removed> 30003
nc: ( Operation timed out

from an ec2 ssh console the same netcat command returns:

$ nc -v nd-wdas<removed> 30003
Ncat: Version 7.93 ( )
Ncat: Connected to

The ECS security group for the container is the same SG that the working EC2 uses which allows all outbound connectivity. As a side note, we dont have any issues connecting to EC2 services from ECS (everything is all in the same VPC, same subnets)

This problem seems to relate to routing ECS traffic over the VPC endpoint to Amazon Managed Blockchain. Any ideas?

1 Answer
Accepted Answer

ended up being the SG on the VPC endpoint itself

answered 2 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions