F5F Stay Refreshed Power Users Networks Configuring a PC to function as a server using a virtual machine in NAT mode

Configuring a PC to function as a server using a virtual machine in NAT mode

Configuring a PC to function as a server using a virtual machine in NAT mode

O
OkayKrystal
Member
146
01-16-2021, 01:33 PM
#1
I'm having troubles trying to setup a home server for development. I have a PC in one room that I want to be used as a server. It has Windows 11 and Ubuntu 20.04 on a VirtualBox VM with NAT as the network mode. What are the steps to make it act like a server so that if the host PC ip is 192.168.12.12 for example, then if I start the server on port 8080, I will be able to access the web from browsers on other PCs on that LAN on ip 192.168.12.12? (So if I type in a browser on any pc on the network 192.168.12.12:8000 I will see the content, or maybe other port because I'll need to do forwarding) Ty
O
OkayKrystal
01-16-2021, 01:33 PM #1

I'm having troubles trying to setup a home server for development. I have a PC in one room that I want to be used as a server. It has Windows 11 and Ubuntu 20.04 on a VirtualBox VM with NAT as the network mode. What are the steps to make it act like a server so that if the host PC ip is 192.168.12.12 for example, then if I start the server on port 8080, I will be able to access the web from browsers on other PCs on that LAN on ip 192.168.12.12? (So if I type in a browser on any pc on the network 192.168.12.12:8000 I will see the content, or maybe other port because I'll need to do forwarding) Ty