- Newest
- Most votes
- Most comments
Hello.
Does this mean that when you access "http://localhost:8080" you want to proxy to the web server of the EC2 instance?
If that's the case, I think you should configure Apache's proxy settings so that it can access the public IP address of EC2.
https://httpd.apache.org/docs/2.4/en/mod/mod_proxy.html
If EC2 is running in a private subnet, you may be able to use Systems Manager's port forwarding feature.
https://aws.amazon.com/jp/blogs/mt/use-port-forwarding-in-aws-systems-manager-session-manager-to-connect-to-remote-hosts/
Hi
Follow th links to resolve issue:
Configuring Security Groups: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-security-groups.html Apache Port Configuration: https://httpd.apache.org/docs/current/vhosts/examples.html
Testing Connectivity:
telnet - https://www.digitalocean.com/community/tutorials/telnet-command-linux-unix curl - https://curl.se/docs/manpage.html
Relevant content
- asked a year ago