Changing port 9092 to a different on on H2 Embedded mode

4,588 views
Skip to first unread message

Sanjeev Sharma

unread,
Aug 1, 2012, 11:29:13 AM8/1/12
to h2-da...@googlegroups.com
Hi:
I have a requirement to change the port on which H2 TCP starts from 9092 to a different port - is this possible.  I see documentation on webPort - which does not look to be the same - it is more for the web console.  
Please let me know.
Sanjeev

Ryan How

unread,
Aug 1, 2012, 6:10:51 PM8/1/12
to h2-da...@googlegroups.com
You want to use tcpPort . I know it is in the docs, but I can't find where!
> --
> 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/-/zUGxlJIemCYJ.
> To post to this group, send email to h2-da...@googlegroups.com.
> To unsubscribe from this group, send email to
> h2-database...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/h2-database?hl=en.


Thotheolh

unread,
Aug 4, 2012, 6:06:04 AM8/4/12
to h2-da...@googlegroups.com
http://www.h2database.com/html/advanced.html?highlight=tcpPort&search=tcpPort#firstFound 

java org.h2.tools.Server
    -tcp -tcpPort 9101
    -baseDir server1

On Thursday, August 2, 2012 6:10:51 AM UTC+8, Kartweel wrote:
You want to use tcpPort . I know it is in the docs, but I can't find where!


On 1/08/2012 11:29 PM, Sanjeev Sharma wrote:
> Hi:
> I have a requirement to change the port on which H2 TCP starts from
> 9092 to a different port - is this possible.  I see documentation on
> webPort - which does not look to be the same - it is more for the web
> console.
> Please let me know.
> Sanjeev
> --
> 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/-/zUGxlJIemCYJ.
> To post to this group, send email to h2-da...@googlegroups.com.
> To unsubscribe from this group, send email to

Sanjeev Sharma

unread,
Sep 13, 2012, 12:31:02 PM9/13/12
to h2-da...@googlegroups.com
Hi Thotheolh:
This is if you are staring a standalone server - what would you provide as a param or an option when starting it in embedded mode or - can i should I just pass -tcpPort <Number> as a param?
Thanks in advance.
Sanjeev


On Saturday, August 4, 2012 5:06:04 AM UTC-5, Thotheolh wrote:
http://www.h2database.com/html/advanced.html?highlight=tcpPort&search=tcpPort#firstFound 

java org.h2.tools.Server
    -tcp -tcpPort 9101
    -baseDir server1

On Thursday, August 2, 2012 6:10:51 AM UTC+8, Kartweel wrote:
You want to use tcpPort . I know it is in the docs, but I can't find where!


On 1/08/2012 11:29 PM, Sanjeev Sharma wrote:
> Hi:
> I have a requirement to change the port on which H2 TCP starts from
> 9092 to a different port - is this possible.  I see documentation on
> webPort - which does not look to be the same - it is more for the web
> console.
> Please let me know.
> Sanjeev
> --
> 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/-/zUGxlJIemCYJ.
> To post to this group, send email to h2-da...@googlegroups.com.
> To unsubscribe from this group, send email to

Thomas Mueller

unread,
Sep 19, 2012, 1:43:41 PM9/19/12
to h2-da...@googlegroups.com
Hi,

In embedded mode there is no server and no IP address.

Regards,
Thomas

Reply all
Reply to author
Forward
0 new messages