Share localhost website

0

Hi there,

I have a third party app installed on my EC2 instance. It is using an address of http://localhost:8095/

I am wanting to share this to external users How do I do this please? Not sure where to start, if someone can point me in the right direction

Thank You

asked 2 days ago87 views
1 Answer
2
Accepted Answer

Hello.

"localhost" cannot be accessed from the outside, so you will need a public IP address etc. to access the EC2 instance directly.
Do EC2 instances have public IP addresses?
If you do not have a public IP address, you will need to configure one.
https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-instance-addressing.html#concepts-public-addresses

If a public IP address is set for EC2, please configure the EC2 security group to allow port 8095.
https://docs.aws.amazon.com/vpc/latest/userguide/security-group-rules.html#adding-security-group-rules

After adding a rule to the security group, you should be able to connect using the public IP address as shown below.
If you are unable to connect even after adding rules to the security group, there may be a problem with the settings on the web server side.

http://EC2-Public-IP:8095/
profile picture
EXPERT
answered 2 days ago
profile picture
EXPERT
reviewed 2 days ago
profile picture
EXPERT
A_J
reviewed 2 days ago
  • Thank You! looks to be working atm :)

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions