I have set up strapi instance on aws according to this guide. I followed all steps and set up my security group correctly, but for some reason, my ec2 instance refuses connections on port 80, 443 and 1337
Anyone got an idea what might be going on?
figured it out. It turns out this wasn’t a problem with AWS or Strapi at all.
I had messed up the database security settings, so each time the strapi process tried to start, the database refused the connection (I hadn‘t set it up with the right security group) and strapi failed to start. PM2
silently captured this and tried to start strapi again, resulting in an infinite loop.