Running Elasticsearch

Can anyone help me?
I try to run elastic from the command promt, but wright that elasticsearch  is running already and I get error like this:

[2021-03-29T07:57:23,485][ERROR][o.e.b.Bootstrap ] [User] Exception java.lang.IllegalArgumentException: invalid port range: at ~[?:?] at<init>( ~[?:?] at org.elasticsearch.bootstrap.Security.addSocketPermissionForPortRange( ~[elasticsearch-7.12.0.jar:7.12.0]Preformatted text`


What exactly did you do?

Please format your code, logs or configuration files using </> icon as explained in this guide and not the citation button. It will make your post more readable.

Or use markdown style like:


This is the icon to use if you are not using markdown format:

There's a live preview panel for exactly this reasons.

Lots of people read these forums, and many of them will simply skip over a post that is difficult to read, because it's just too large an investment of their time to try and follow a wall of badly formatted text.
If your goal is to get an answer to your questions, it's in your interest to make it as easy to read and understand as possible.
Please update your post.