Running Tendermint in aws ec2 instances

I am trying to run Tendermint in distributed mode, in two Instances of aws ec2 (master and slave).
I have added the ‘node id’ of slave into master instance in seeds.

whenever I try to start ‘Tendermint node’, it is throwing this error :

abci.socketClient failed to connect to tcp:// Retrying… module=abci-client connection=query err=“dial tcp connect: connection refused”

I have added the port 26658 to firewall. kindly help me on this…