OPC UA Failed to connect with TIA Portal, PLCSIM Advanced

Hi,
I have a question. Does anyone know what could be the problem here? I set everything up as shown on the official Visual Components youtube video instructions and every time get this message:

Connection failed.

Following error and warning message(s) were received from the Connection Plugin:

[ERROR] Failed to load endpoint descriptions from the server and select one that matches the specified security and protocol criteria.
[ERROR] Connecting to server failed: One or more errors occurred.

I am using Visual Components Premium 4.9. PLCSIM Advanced V5.0 and TIA Portal V18. OPC UA server is turned on S7 1511-1PN.
Please help, I don’t know what else can I do.
Best regards

Could be a number of issues. Maybe the IP address is incorrect, or the network connection to the server is not ok.
Alternatively, the server might not accept anonymous login, and you need to enter credentials or accept the certificates to establish the connection.

By definition, PLCSim Advanced is an anonymously accessible server, so if you can’t connect to its OPC UA server, my advice would be to first check that the IP is correct, that Advanced is not reporting errors, and that the PG/PC interface is set up correctly.