Unable to connect Neo4j DB on VM from local Machine

Unable to establish remote connection: Neo4jError: WebSocket connection failure. Due to security constraints in your web browser, the reason for the failure is not available to this Neo4j Driver. Please use your browsers development console to determine the root cause of the failure. Common reasons include the database being unavailable, using the wrong connection URL or temporary network problems. If you have enabled encryption, ensure your browser is configured to trust the certificate Neo4j is configured to use. WebSocket `readyState` is: 3

Tried:-
open port for VM (7474, 7686)
dbms.connectors.default_listen_address=0.0.0.0 dbms.connector.bolt.listen_address=:7687 dbms.connector.bolt.tls_level=OPTIONAL after starting the DB on VM On local machine, Neo4j Desktop I am adding Remote connection bolt://<ip of rdp>:7687 user: neo4j and passowrd
Any help will be appreciated.

Hi, Have you connected on VM?