Hi: I am starting H2 database server - using the H2 API. I want to change the server port to be something different from 9092. How do I do it using the following API? To be more specific what should be the argument that specifies the port. I have tried -tcpPort=9001, -tcpPort:9001 etc - none seems to work - please help. Thanks
createTcpServer<http://www.h2database.com/javadoc/org/h2/tools/Server.html#createTcpServer_String...>(String... args) throws SQLException Create a new TCP server, but does not start it yet. Example: Server server = Server.createTcpServer( new String[] { "-tcpAllowOthers" }).start(); Parameters: args - the argument list Returns: the server -- You received this message because you are subscribed to the Google Groups "H2 Database" group. To view this discussion on the web visit https://groups.google.com/d/msg/h2-database/-/oa1_zuqyAYAJ. 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.
