Can't open ports 8080 and all others on AWS EC2

Hello everyone, I can't open ports 8080 and all others, on AWS EC2, ubuntu is installed, the security group has full access for everyone on port 8080, all firewalls in ubuntu are disabled(ufw,iptables is not active), but the port is closed and that's it...only two ports work 22, 80, please tell me what I did wrong?

Author: art_pr, 2016-02-22

2 answers

The actions are as follows:

  1. See which Security Group is installed for this ec2 instace (EC2 Dashboard->Instaces).
  2. For this Security Group (EC2 Dashboard->Security Groups), add and save the inbound rule as follows: Custom TCP Rule TCP 8080 Anywhere 0.0.0.0/0

  3. Then go to instace via ssh. If the apache web server is installed, then edit the following configuration file: /etc/apache2/ports.conf. Add a line to it Listen 8080.

  4. Restart apache: sudo service apache2 restart
  5. Make sure that the port is added: netstat -lntup
 1
Author: maxspbfox, 2016-03-05 10:20:21

Thank you, I figured it out, it turns out that no one listened to the port, and on the port check sites, it turns out that the port is closed, in fact, it simply does not know how to recognize when the port is closed and when no one listens to it..

 1
Author: art_pr, 2016-03-06 11:37:17