Subject | Re: [Firebird-Java] GDS Exception. 335544721. Unable to complete network request to host |
---|---|
Author | Mark Rotteveel |
Post date | 2017-06-22T20:05:12Z |
On 2017-06-22 22:02, Mark Rotteveel mark@... [Firebird-Java]
wrote:
java.net.preferIPv4Stack=true (use -Djava.net.preferIPv4Stack=true in
the commandline) might help as well.
Mark
wrote:
> On 2017-06-22 16:46, Calabaza calalinux@... [Firebird-Java]Starting your Java application with system property
> wrote:
>> I have this same problem, and I fix with this configuration, in Debian
>> GNU/Linux Jessie (8.x):
>>
>> # sed -i 's/net.ipv6.bindv6only\ =\ 1/net.ipv6.bindv6only\ =\ 0/' \
>> /etc/sysctl.d/bindv6only.conf && sudo invoke-rc.d procps restart
>>
>> This problem I saw too with this exception in other java applications:
>> * java.net.NoRouteToHostException: Network is unreachable
>>
>> Of course, this configuration disable IPv6.
>
> Please specify the versions you are using of: Firebird, Jaybird and
> Java. And it would be helpful if you post the entire stacktrace.
>
> Note that Firebird 2.5 and earlier only support IPv4.
java.net.preferIPv4Stack=true (use -Djava.net.preferIPv4Stack=true in
the commandline) might help as well.
Mark