Database connection with simulator

Hello, everyone.

I am practicing within the PLCNext engineer.
I have downloaded version 2022.0.2 and connected the simulator correctly.
I have already done a few tests to verify it and it has always been ok.

Currently I would like to be able to connect a SQL Database, I have downloaded and used the DBFL library but I cannot get any connection. I have already followed all the documentation.

I have enabled port 1443 on my db on localhost but I cannot connect.

Is anyone able to tell me what exactly I should do? I have already followed all the examples in the documentation but nothing.

Thank you to anyone who will answer.

Hello!
As plcnext use QEMU as simulator engine, we can take a look at it’s wiki… https://wiki.qemu.org/Documentation/Networkingизображение.pngAnd in case if your DB server run on the same machine you launch simulation (trivial situation) you just need to set ip addres of db server 10.0.2.2 (default gateway to host network inside QEMU), and port 1443 (your settings)
изображение.pngBest regards