Home > Net >  How can I forward my localhost to my public IP on a VPS?
How can I forward my localhost to my public IP on a VPS?

Time:09-28

I'm running a website on my Linux VPS.

This is what I get on my terminal when the website is running:

Navigate to https://127.0.0.1:7443 in a browser

The problem is that I cannot connect to this on the browser because it's not MY machine's localhost.

Is there a way I can forward this to my VPS's Public IP?

for example, the IP address I use to access the server? To explain better I want to access the website from anywhere from my phone, laptop, etc.

CodePudding user response:

You could possibly use iptables/firewalld such as port recirection

CodePudding user response:

What you are probably searching for is one of these tools:

These tools will let you access your local page from anywhere in the world.

  • Related