Assign static IP for RedHat Guest from Windows Host

Discussions related to using VirtualBox on Windows hosts.
Post Reply
Oraclezoid
Posts: 1
Joined: 6. Feb 2024, 02:27
Primary OS: MS Windows other
VBox Version: PUEL
Guest OSses: RedHat

Assign static IP for RedHat Guest from Windows Host

Post 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.
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: Assign static IP for RedHat Guest from Windows Host

Post 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.
Post Reply