After succesfully setting up a POA network on azure (hurray for 1 click deployment), i wanted to set up a private Swarm cluster (well , 1 node will do for testing).
I took an AWS EC2 instance to save a little on my azure free credits (hue).
I've got the following ports opened for both IN and OUTbound traffic:
- HTTP (8080) TCP
- HTTPS (443) TCP
- SSH (22) TCP
- BZZ: (8500) TCP
- BZZ: (8500) UDP
I've also opened up the port to ping the instance and can succesfully ping the public IP.
This is the command I'm using to start the instance. Please do note I've tried setting bzzapi to default, 0.0.0.0:8500 and the public IP.
ubuntu@ip-172-31-35-99:~$ swarm --bzzaccount b84c12c07f155d4ca0e1d0178367f426943eb056 --datadir swarm --keystore swarm/keystore --bzzapi http://22.214.171.124:8500 --ens-api "" --bzzport 8500 -corsdomain "*"
I can't connect to the endpoint
I can ping the instance however:
ping 126.96.36.199 Pinging 188.8.131.52 with 32 bytes of data: Reply from 184.108.40.206: bytes=32 time=108ms TTL=41 Reply from 220.127.116.11: bytes=32 time=109ms TTL=41 Reply from 18.104.22.168: bytes=32 time=108ms TTL=41 Reply from 22.214.171.124: bytes=32 time=108ms TTL=41
Any ideas? I feel like it's similar to this issue: Connection Error - Couldn't connect to ethereum node on AWS at http://xx.xxx.xx.xxx:8545