If you want to experiment with servers and applications you will probably need your own test lab with virtual machines. The point is that you don’t want your test lab to interfere with your home network. This can be easily realised with Oracle VirtualBox and a network address translation network (NATNetwork) on a workstation.
Go to the Oracle VM VirtualBox Manager / File / Preferences / Network
Check the NATNetwork or add one if there is none.
Edit the NATNetwork details so that it suites your environment.
Important is the 10.0.2.1 address (x.x.x.1) is used as the gateway.
The first address x.x.x.1 is used for host resolution.
For a DNS server you could use 188.8.131.52 (Google).
Because of NAT we are not able SSH directly from our workstation to the virtual machines. For this we need to set port forwarding as well. Keep the Host IP empty. This will be 127.0.0.1 (localhost). For the Host Port choose a free port on your workstation.
On a virtual machine you have to attach your network adapter to the NATNetwork. You do this in the Network settings of the virtual machine. (Choose 10.0.2.1 in this example as the gateway address in the network settings of your server.)
If your Linux server has an IP address of 10.0.2.15 then you can SSH to it with 127.0.0.1 and port 11522 from your workstation.