I am running a program in a Debian 12.6 AMD64 VM under virt-manager. The program needs to connect to a server running on the host.
Running sudo ss -lnpAinet on the host gives 2 entries for the server,
Code: Select all
Netid State Recv-Q Send-Q Local Address:Port Peer Address:Port
udp UNCONN 0 0 239.255.219.183:10731 *:* users:(("MyServer64",pid=10225,fd=26))
tcp LISTEN 0 128 [::ffff:192.168.10.27]:10731 [::]:* users:(("MyServer64",pid=10225,fd=27))
At the moment, the VM does not have any network connection (it was installed that way). I am well into the weeds as I need to both create a network connection in virt-manager that will put the VM on the same network as the host and also configure firewalld to allow the connection.
I have tried a simpler setup with the program running directly on the host and firewalld is definitely blocking the connection between the program and the server (the program runs with firewalld off but gives an error about not finding the server with firewalld started).
I need to configure a firewall rule to allow connections to the server and then create a network connection in virt-manager to let the VM connect to the host. Any suggestions would be greatly appreciated.
LMHmedchem