0

I'm trying to setup my NodeJs Express app with MongoDB in amazon EC2, I have already configured the database.

Now I wanted to clone the backend server (private repo) which is the node express app. But whenever I try it gets time out, unless I give inbound traffic to "All Traffic". Moreover I'm trying to setup GitHub Actions and I am unable to install the runner for the same reason.

The runner command im trying to run

curl -o actions-runner-linux-x64-2.301.1.tar.gz -L https://github.com/actions/runner/releases/download/v2.301.1/actions-runner-linux-x64-2.301.1.tar.gz


I tried all these security rules, but it gets times out. enter image description here

As mentioned when setting inbound rule to "All Traffic" it works. But I dont want this for security concerns.

Can anyone help me with the correct rule with recommended way base on the security?

I tried the first solution mentioned here ssh: connect to host github.com port 22: Connection timed out But this doesnt work

Faiz Hameed
  • 488
  • 7
  • 15

0 Answers0