I don't know QEMU, but with all VM platforms it is not the VM host which listens on a port. It is the VM guest which needs to listen on a port and provide a server function.
You have to set up a bridged network adapter for the VM guest. In that way the VM guest's NIC will be connected to your LAN, get an IP address, just like a physical machine connected to you LAN.
If you set up a VM in VirtualBox then the network adapter is NAT-ed by default. Then you can go from the VM guest to the LAN but not from the LAN to the VM guest. In the VM guest settings you have to set up the NIC in bridged mode. I am not sure what is the default for QEMU. I am sure QEMU offers a similar choice for NIC configuration.
jlinkels
Last edited by jlinkels; 02-19-2018 at 06:10 AM.
|