Csharp connect to other services

Hi,
I’ve successfully used the NuGet package in a console app, joined a network and got an IP; then I’ve also installed the client and joined the same network on a Win VM.
To test the connection I’ve pinged the app from the VM and it works just fine.

There is no other example, just the one made with sockets and I understand how that should work between two apps, however, the ping does not work from app to VM and I cannot connect to any hosted services on that VM. Ping also does not work from app to VM.
Any idea how to make this work? Is it even possible with the sdk?

Bottom line, I need to connect to and mssql service hosted on the VM, ip:port is needed for the DbConnection class, for example 10.10.10.117:1443

Any help would be appreciated,
Thank you.