Page 1 of 1

Assign static IP for RedHat Guest from Windows Host

Posted: 6. Feb 2024, 02:39
by Oraclezoid
Hi!
I'm totally newbie in virtual networking...
So, help me, please.
I want redhat8 guest machine to be accessible from everywhere.
My network adapter is NAT. My guess was that if I just assign port forwarding probably, that would be enough to
access my guest machine's web services outside local network simply using host IP and forwarded port combination.
I was wrong...
I have a Tomcat server running on my guest machine on port 8090. I forward this port to 8091 port on host. I'm able to see tomcat
as localhost:8091. But If I try 76.63.133.193:8091 (Say, 76.63.133.193 is my host IP) - I see nothing (

What should I have to configure to achieve a desired behavior?
Any help would be very appreciated.

TIA,
Andrew.

Re: Assign static IP for RedHat Guest from Windows Host

Posted: 6. Feb 2024, 03:39
by scottgus1
NAT goes through the host network stack, including the host firewall. Did you open those ports in Windows Firewall, for the correct private, public, domain sources?

Additionally, 76.63.133.193 is not a typical private IP address. Are you trying to access the Tomcat server from out on the internet? If so there may be a router or firewall between the internet and your host that needs the port opened, too.