The documentation, implies that the connection is always remotely available, but since I use this on a laptop, and change networks, sometimes the clients don't know how to connect, since they are trying to use an IP that is no longer valid.
So, the question is: Is there any way to force H2 to only listen on localhost for auto_server=true?
Yes, you can set the server bind address using the system property "h2.bindAddress".
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With