Running Hyperledger Besu instance on EC2

0

I'm trying to start a node for a private implementation of Besu on my EC2 instance. However, every time I try to start the node, it throws a java.net.ConnectException immediately on start. There is no message given, no cause, just throws the exception immediately and dies.

I've checked the security groups, and all the necessary ports are open. I tried it with and without UFW and no success. I also tried using ports that are already standard defined but not commonly used UDP/TCP ports, and that did not work either. It runs successfully in our local dev environment, so I know the difference is environmental and not a code issue, but I'm not sure where else to look.

The Java version is the same, the compiled jars are the same, and I've tried everything I can think of with regards to opening ports on the EC2 instance.

posta 2 anni fa340 visualizzazioni
1 Risposta
0

Hello,

If the server listens on port 1099 then the port you use to connect the stub is random so you either have to open all TCP ports in the security group of AWS.

OR, you can specify the port while constructing or exporting which is recommended.

Hope this helps.

profile pictureAWS
TECNICO DI SUPPORTO
con risposta 2 anni fa
  • I specify the port to 30303 as well as 8545-8546. I also tried opening all ports, and that did not succeed either. I tried most of the obvious solutions, and they did not work. I tried using a standard port and it did not work.

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande