The port number is a (signed or unsigned) short integer on most
system. This means, that the max value of a port number is either
32768 or 65536. A value of 88777 is simply too large.

On May 15, 11:56 pm, spywx <[email protected]> wrote:
> i can not  open h2 console i keep getting this error i attempted 2
> change the port to 88777, i can run the database from my project but i
> do need to see it from the console any idea how to reset the port to
> 8082  thx
>
> Exception in thread "main" java.lang.IllegalArgumentException: Port
> value out of
>  range: 88777
>         at java.net.ServerSocket.<init>(ServerSocket.java:180)
>         at java.net.ServerSocket.<init>(ServerSocket.java:97)
>         at org.h2.util.NetUtils.createServerSocketTry(NetUtils.java:
> 171)
>         at org.h2.util.NetUtils.createServerSocket(NetUtils.java:141)
>         at org.h2.server.web.WebServer.start(WebServer.java:274)
>         at org.h2.tools.Server.start(Server.java:342)
>         at org.h2.tools.Console.runTool(Console.java:142)
>         at org.h2.tools.Console.main(Console.java:87)
> Press any key to continue . . .
>
> --
> You received this message because you are subscribed to the Google Groups "H2 
> Database" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group 
> athttp://groups.google.com/group/h2-database?hl=en.

-- 
You received this message because you are subscribed to the Google Groups "H2 
Database" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/h2-database?hl=en.

Reply via email to