Page 1 of 1

[NordVPN] java.net.BindException: Cannot assign requested address: no further information

Posted: 13 Jan 2023, 18:06
by rednoah
NordVPN split tunnelling is known to fundamentally break network connections for some users:

Error: Select all

java.net.BindException: Cannot assign requested address: no further information


:arrow: If NordVPN somehow breaks internet connectivity, then not using NordVPN can serve as a workaround to make things work.



:idea: The java.net.preferIPv4Stack settings may (or may not) serve as a alternative workaround:
rednoah wrote: 30 Jun 2016, 08:36 Force IPv4 network connections: java.net.preferIPv4Stack = false | true

Shell: Select all

filebot -script fn:properties --def java.net.preferIPv4Stack=true

Re: [NordVPN] java.net.BindException: Cannot assign requested address: no further information

Posted: 24 Jun 2023, 10:32
by Cykr1L
Hello,

unfortunately I have the same problem.
Where can I make these settings in the Windows version?

Re: [NordVPN] java.net.BindException: Cannot assign requested address: no further information

Posted: 24 Jun 2023, 10:58
by rednoah
Cykr1L wrote: 24 Jun 2023, 10:32 Where can I make these settings in the Windows version?
:arrow: [FAQ] How do I run a filebot command on Windows?

Re: [NordVPN] java.net.BindException: Cannot assign requested address: no further information

Posted: 25 Jun 2023, 16:04
by Cykr1L
perfect, thank you.
Now the problem is fix =)

Re: [NordVPN] java.net.BindException: Cannot assign requested address: no further information

Posted: 15 Jul 2024, 03:15
by shillbert
For me, on Windows, even the command to change the setting wouldn't run, but I was able to run it by running this first:

Code: Select all

set JAVA_TOOL_OPTIONS="-Djava.net.preferIPv4Stack=true"
Hope this helps anyone Googling this in the future :D

EDIT: it seems like changing the setting still doesn't actually fix the problem, but always running filebot with JAVA_TOOL_OPTIONS set to "-Djava.net.preferIPv4Stack=true" does.

Re: [NordVPN] java.net.BindException: Cannot assign requested address: no further information

Posted: 22 Sep 2024, 14:49
by D90
shillbert wrote: 15 Jul 2024, 03:15 For me, on Windows, even the command to change the setting wouldn't run, but I was able to run it by running this first:

Code: Select all

set JAVA_TOOL_OPTIONS="-Djava.net.preferIPv4Stack=true"
Hope this helps anyone Googling this in the future :D

EDIT: it seems like changing the setting still doesn't actually fix the problem, but always running filebot with JAVA_TOOL_OPTIONS set to "-Djava.net.preferIPv4Stack=true" does.
Apologies, but how does one run Filebot with that argument? I am having the same issue.

Thank you for your time.

Re: [NordVPN] java.net.BindException: Cannot assign requested address: no further information

Posted: 22 Sep 2024, 15:49
by rednoah
D90 wrote: 22 Sep 2024, 14:49 how does one run Filebot with that argument?
:arrow: [FAQ] How do I run a filebot command on Windows?

ScreenshotScreenshot




:arrow: Alternatively, you can set java.net.preferIPv4Stack=true in the FileBot Desktop application in the Advanced Settings editor:

ScreenshotScreenshot

Re: [NordVPN] java.net.BindException: Cannot assign requested address: no further information

Posted: 18 Oct 2024, 17:36
by cfoxcvg
I am getting the following error.

Error: Select all

java.net.ConnectException: Cannot assign requested address: getsockopt
Network connection error.
I can not find any info on this exact error or anything referencing getsockopt. While trying to correct the issue I modified the java IP4 line as is mentioned multiple times for a similar error and earlier in this post. That did not work so I reverted everything.

I am using the windows version and NordVPN. So far FileBot is the only app I am not able to get to operate using split tunneling. I have moved every FileBot file I can find to bypass the VPN using split tunneling with no success. Any help would be appreciated. Please consider me a novice with your replies.

Re: [NordVPN] java.net.BindException: Cannot assign requested address: no further information

Posted: 18 Oct 2024, 17:53
by rednoah
cfoxcvg wrote: 18 Oct 2024, 17:36 I am using the windows version and NordVPN. So far FileBot is the only app I am not able to get to operate using split tunneling.
Sorry, no idea. A Google search for this error message yields few results. You could try talking to the NordVPN developers. Presumably, they know a lot more about network internals and can debug their own code to figure out what's going awry.