Accessing Neo4j database through the browser

Please I am using Neo4j desktop for the first time, and I am trying to access the database through the Neo4j browser. I have given the URL as localhost: 7474, Username as neo4j, and Password as neo4j. However, I am unable to connect to database. Instead, I get the error message below:

ServiceUnavailable: 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 URL, or temporary network problems.

I believe there might be something I am not getting right. Can anybody please help me out? Thanks.

The URL should be localhost:7687 for bolt.

7474 is the http port.