Closed GoogleCodeExporter closed 8 years ago
little correction: InetAddress.getByName("*") does not work.
To work patch is modify check in NetUtils.getBindAddress()
if (host != null && host.length() == 0) {
return null;
}
instead
if (host == null || host.length() == 0) that return always null.
Original comment by nikolas....@finantix.com
on 4 Mar 2010 at 12:38
Hi,
Your patch is based on an older version of H2. Could you create a patch for the
current version? From what I see you changed getBindAddress, but I'm not sure.
Currently, getBindAddress() returns null by default. With your patch it returns
InetAddress.getByName(null) - is that correct? As far as I understand the
behavior
would change, because it would no longer create server sockets for all
addresses, but
only for localhost, which is incorrect.
The real question is: why does the current code not work for you? It does work
for
others, and it works for me (under Windows, Ubuntu, and Mac OS X). Do you know
why it
doesn't work for you? Once we know why, we can try to find a solution. This
solution
might be create a patch, or it might be throw a better error message.
Original comment by thomas.t...@gmail.com
on 7 Mar 2010 at 11:23
Setting the status for "works for me". I will re-open the issue when we have
more
information.
Original comment by thomas.t...@gmail.com
on 21 Mar 2010 at 11:33
Original issue reported on code.google.com by
nikolas....@finantix.com
on 4 Mar 2010 at 11:02