BiglySoftware / BiglyBT

Feature-filled Bittorrent client based on the Azureus open source project
https://www.biglybt.com
GNU General Public License v2.0
1.59k stars 152 forks source link

BiglyBT cannot bind to UDP ports and cannot use udp trackers. #1975

Closed vipinjn24 closed 10 months ago

vipinjn24 commented 3 years ago

BiglyBT cannot bind to UDP ports and cannot use UDP trackers.

It says that some program is already using the port, but BiglyBT is the program that is using the port. And I confirm that only one instance is running at a time, even in task manager we can see only one process in the details tab.

Please see attached screenshot.

image

Please see the system information too.

Java 1.8.0_202 (64 bit)
  Oracle Corporation
c:\program files\biglybt\jre

SWT v4930r7, win32, zoom=100, dpi=96
Windows 10 v10.0, amd64 (64 bit)
B2.6.0.0/4 az3
parg commented 3 years ago

It must be something specific to your setup - I can assure you that UDP trackers work fine for me and all the other Windows users I talk to every day.

Could it be an antivirus program blocking BIglyBT acting 'as a server' ?

vipinjn24 commented 3 years ago

@parg can antivirus stop an application to bind to udp port? However the application binding to udp port but still complains for the issue.

Let me disable my firewall and antivirus and check again.

vipinjn24 commented 3 years ago

ok it did not work with both of em disabled.

let me see if cleaning up all the settings will do the work.

vipinjn24 commented 3 years ago

That didn't helped either, and after resetting the settings the remote pairing stopped working. It only works when I restore the settings in biglybt.

david-bakin commented 3 years ago

FYI (for future reference to anyone who comes here) to find out who is using what port on Windows use this awesome tool Nirsoft LiveTcpUdpWatch.

vipinjn24 commented 3 years ago

@david-bakin hello david i guess you didnt read the comments. Biglybt is using the ports but still its showing the error and i confirm that only one instance is running.

Well another thing is on windows you have a command already i.e. netstat -ano | find "port number" It will fetch you the pid by which you can easily find the process.

hglecke commented 3 years ago

Hi! I experience the same or very similar problems without solution. I too tried all I could think of to find answers, no good. Some of my details: The system can no longer find open ports, no matter how many I tried in Nat/Firewall test. Selections for download seem to work fine, Nat turns OK. If I try to share my own file(s) by creating torrents, no matter what, it's a no go. Serious problem for a system with the PRIMARY purpose to share. The same problems with two separate systems. Both win10, fully updated. VPN and virus protection is used. Disabling either or both does not help. In the past, The NAT/Firewall test did work ok, just do not recall when problems started. Anything I can do to help, just ask.

UPDATE #1 Further experiments and investigation yielded disappointing results. Many VPN providers block port forwarding in their firewalls as a safety measure. I tried two separate paid VPN, both with excellent reputations. Same results. In short: if you want to use software that requires port forwarding and use our VPN - forget it. On the one hand the use of a VPN is highly recommended, including by BiglyBT, and on the other it severely hampers the full participation by the user. To make things worth, BiglyBT appears to punish users who do not participate fully, meaning share. Throttling speed is not the answer. Where does BiglyBT go from here?

UPDATE #2 Your router may interfere with port forwarding in the most unexpected ways. My router was set to forward, as required by BiglyBT. When my previously working caller ID no longer displayed on the TV I allowed the TV to trouble shoot. It checked the router, changed the port forward settings, the caller ID displayed ok again. That showed how connected devices can change settings in some routers. Your service provider may update the router firmware, potentially causing a change in seemingly unrelated functions. Conclusion: If BiglyBT worked and suddenly no more, it could be with the router settings that changed without your knowledge. I set my router to no longer accept changes from the WAN (outside). This still allows devices on your LAN (inside) to make changes.

Virus protection software can also interfere with BiglyBT data exchanges by flagging incoming data as potential attack. Again, ANY virus software update can cause problems were there were none before. The never ending battle of function vs security. Similarly, the frequent Windows updates can have the same effect. Conclusions: The problems described under update 1 above are entirely outside the control of BiglyBT or the end-user, short of not using the VPN. Not to be recommended. Problems with your router or with software updates may have solutions available to the end-user and/or BiglyBT. BiglyBT could address these challenges from within or by providing some guidance such as help files or links to help on line. While it is unlikely to have a 'one-fits-all' answer, every little bit helps.

vipinjn24 commented 3 years ago

@hglecke Hi I used bittorrent/utorrent both of them worked perfectly fine. Butt one day it stopped happening with BiglyBT, cant say that it is due to updates.

vipinjn24 commented 3 years ago

This issue needs to reopen.

Today i updated to version 2.7.0.2 the issue again cameup.

So here is the thing that before updating i got no such error that the address is already in use. but now after update biglybt cannot bind to the port that i exposed to internet and also cannot use udp trackers.

this update confirmed that this is an issue with biglybt and not my system.

please fix.