After a few weeks of using the h2 database engine, i got the folowing error message and now i can't use the database anymore. I tried uninstalling/removing h2 from my system and restarted the pc multiple times.
The Web Console server could not be started. Possible cause: another server is already running at
http://10.140.66.30:8082Root cause: IO Exception: "java.net.SocketException: Permission denied: listen failed"; "port: 8082 ssl: false" [90031-196]
The TCP server could not be started. Possible cause: another server is already running at tcp://
10.140.66.30:9092Root cause: IO Exception: "java.net.SocketException: Permission denied: listen failed"; "port: 0 ssl: false" [90031-196]
The PG server could not be started. Possible cause: another server is already running at pg://
10.140.66.30:5435Root cause: IO Exception: "java.net.SocketException: Permission denied: listen failed"; "port: 0 ssl: false" [90031-196]
Exception in thread "main" org.h2.jdbc.JdbcSQLException: IO Exception: "java.net.SocketException: Permission denied: listen failed"; "port: 8082 ssl: false" [90031-196]
at org.h2.message.DbException.getJdbcSQLException(DbException.java:345)
at org.h2.message.DbException.get(DbException.java:168)
at org.h2.message.DbException.convertIOException(DbException.java:330)
at org.h2.util.NetUtils.createServerSocketTry(NetUtils.java:183)
at org.h2.util.NetUtils.createServerSocket(NetUtils.java:146)
at org.h2.server.web.WebServer.start(WebServer.java:342)
at org.h2.tools.Server.start(Server.java:484)
at org.h2.tools.Console.runTool(Console.java:234)
at org.h2.tools.Console.main(Console.java:102)
Caused by: java.net.SocketException: Permission denied: listen failed
at java.base/java.net.DualStackPlainSocketImpl.listen0(Native Method)
at java.base/java.net.DualStackPlainSocketImpl.socketListen(Unknown Source)
at java.base/java.net.PlainSocketImpl.socketListen(Unknown Source)
at java.base/java.net.AbstractPlainSocketImpl.listen(Unknown Source)
at java.base/java.net.ServerSocket.bind(Unknown Source)
at java.base/java.net.ServerSocket.<init>(Unknown Source)
at java.base/java.net.ServerSocket.<init>(Unknown Source)
at org.h2.util.NetUtils.createServerSocketTry(NetUtils.java:176)
... 5 more
If i check with netstat if an other service is using the port i get no results. How could i solve this problem?