I created a Nodejs server, that accepts files from user, and im stroing those file to a cms, so that i can generate the file link, and after the file link has been created, i wrote a fucntion, that deletes the file by using the file directory and file name.
I works my local machine, but after putting it on my ec2 amazon linux 2 server, when i make the post request, from postman, i dont get any response.
I don't know if it has to do it permission issue, but if there is someone that can help me, please do. because then ill have no choice than to choose another plaform to run my nodejs server.
I don't know if it has to do it permission issue, but if there is someone that can help me, please do. because then ill have no choice than to choose another plaform to run my nodejs server.
Your EC2 instance is in a public subnet? Did you configured the security groups on the instance properly?
Follow this guide for a complete overview of how to configure your AWS environment to expose a web server from an EC2 instance.