Neo4j.bat console :Failed to start Neo4j on dbms.connector.http.listen_address, a socket address

Java HotSpot(TM) 64-Bit Server VM warning: Option UseBiasedLocking was deprecated in version 15.0 and will likely be removed in a future release.
2021-03-20 09:51:08.325+0000 INFO Starting...
2021-03-20 09:51:10.380+0000 INFO ======== Neo4j 4.2.4 ========
2021-03-20 09:51:17.084+0000 ERROR Failed to start Neo4j on dbms.connector.http.listen_address, a socket address. If missing port or hostname it is acquired from dbms.default_listen_address.
java.lang.RuntimeException: Error starting Neo4j database server at D:\neo4j\neo4j-community-4.2.4\data\databases
at org.neo4j.graphdb.facade.DatabaseManagementServiceFactory.startDatabaseServer(DatabaseManagementServiceFactory.java:207) ~[neo4j-4.2.4.jar:4.2.4]
at org.neo4j.graphdb.facade.DatabaseManagementServiceFactory.build(DatabaseManagementServiceFactory.java:163) ~[neo4j-4.2.4.jar:4.2.4]
at org.neo4j.server.CommunityBootstrapper.createNeo(CommunityBootstrapper.java:36) ~[neo4j-4.2.4.jar:4.2.4]
at org.neo4j.server.NeoBootstrapper.start(NeoBootstrapper.java:134) [neo4j-4.2.4.jar:4.2.4]
at org.neo4j.server.NeoBootstrapper.start(NeoBootstrapper.java:90) [neo4j-4.2.4.jar:4.2.4]
at org.neo4j.server.CommunityEntryPoint.main(CommunityEntryPoint.java:35) [neo4j-4.2.4.jar:4.2.4]
Suppressed: java.lang.NoClassDefFoundError: Could not initialize class org.neo4j.internal.helpers.Exceptions
at org.neo4j.kernel.lifecycle.LifeSupport.shutdown(LifeSupport.java:188) ~[neo4j-common-4.2.4.jar:4.2.4] at org.neo4j.dbms.database.DatabaseManagementServiceImpl.shutdown(DatabaseManagementServiceImpl.java:131) ~[neo4j-kernel-4.2.4.jar:4.2.4]
at org.neo4j.graphdb.facade.DatabaseManagementServiceFactory.startDatabaseServer(DatabaseManagementServiceFactory.java:216) ~[neo4j-4.2.4.jar:4.2.4]
at org.neo4j.graphdb.facade.DatabaseManagementServiceFactory.build(DatabaseManagementServiceFactory.java:163) ~[neo4j-4.2.4.jar:4.2.4]
at org.neo4j.server.CommunityBootstrapper.createNeo(CommunityBootstrapper.java:36) ~[neo4j-4.2.4.jar:4.2.4]
at org.neo4j.server.NeoBootstrapper.start(NeoBootstrapper.java:134) [neo4j-4.2.4.jar:4.2.4]
at org.neo4j.server.NeoBootstrapper.start(NeoBootstrapper.java:90) [neo4j-4.2.4.jar:4.2.4]
at org.neo4j.server.CommunityEntryPoint.main(CommunityEntryPoint.java:35) [neo4j-4.2.4.jar:4.2.4]
Caused by: org.neo4j.kernel.lifecycle.LifecycleException: Component 'org.neo4j.dbms.database.DefaultSystemGraphInitializer@9accff0' was successfully initialized, but failed to start. Please see the attached cause exception "Could not initialize class org.neo4j.internal.helpers.Exceptions".
at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:463) ~[neo4j-common-4.2.4.jar:4.2.4]
at org.neo4j.kernel.lifecycle.LifeSupport.start(LifeSupport.java:110) ~[neo4j-common-4.2.4.jar:4.2.4]
at org.neo4j.graphdb.facade.DatabaseManagementServiceFactory.startDatabaseServer(DatabaseManagementServiceFactory.java:198) ~[neo4j-4.2.4.jar:4.2.4]
... 5 more
Caused by: java.lang.NoClassDefFoundError: Could not initialize class org.neo4j.internal.helpers.Exceptions
at org.neo4j.dbms.database.SystemGraphComponents.initializeSystemGraph(SystemGraphComponents.java:96) ~[neo4j-kernel-4.2.4.jar:4.2.4]
at org.neo4j.dbms.database.DefaultSystemGraphInitializer.initializeSystemGraph(DefaultSystemGraphInitializer.java:41) ~[neo4j-4.2.4.jar:4.2.4]
at org.neo4j.dbms.database.SystemGraphInitializer.start(SystemGraphInitializer.java:29) ~[neo4j-kernel-4.2.4.jar:4.2.4]
at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:442) ~[neo4j-common-4.2.4.jar:4.2.4]
at org.neo4j.kernel.lifecycle.LifeSupport.start(LifeSupport.java:110) ~[neo4j-common-4.2.4.jar:4.2.4]
at org.neo4j.graphdb.facade.DatabaseManagementServiceFactory.startDatabaseServer(DatabaseManagementServiceFactory.java:198) ~[neo4j-4.2.4.jar:4.2.4]
... 5 more
2021-03-20 09:51:17.096+0000 INFO Neo4j Server shutdown initiated by request
2021-03-20 09:51:17.097+0000 INFO Stopped.

From reading the error message it is trying to access a logical port which is not available to it.
I do not know what operating system you are using and what level of computer knowledge you have so I am going assume you are new to both Neo4j and networking (sorry if I end up talking down to you)

Every network service linstens on its own logical port so for example when you access the web site neo4j.com you are actually accessing neo4j.com:80 because this is the port on which all web servers listen. On your local system the prot will be localhost:80 if you were running a web server.

Neo4j uses default prots as described in link [1] they can be changed but you should start by checking your firewall settings to ensure that the prots are not blocked.
The netstat command on windows and linux is a good way of seeing what ports are open.

If you provide me with more info I might be more usefull to you.
[1] Ports - Operations Manual

i am facing the same issue and i am using windows 10. can somebody help me . i am new to neo4j!

have you tried with lower version of jdk? i had the same problem with jdk 16 so i tried with jdk 15 and it worked. i'm new to neo4j too.