Thursday, October 27, 2022

[SOLVED] How to access service running on host machine from local pc?

Issue

I have a Ubuntu VM instance running on my Amazon-AWS. Inside that VM I have a service running on https://localhost:1337 I created Elastic IP to that VM. Now I want to want to access that service from my local PC from a URL. Is it possible to do so? If possible, how?


Solution

I was able to open the port 1337 in the security group, and access it via the elastic IP, like: https://:1337 as @Mark B has mentioned.



Answered By - skaveesh
Answer Checked By - Timothy Miller (WPSolving Admin)