Page 1 of 1

port changes itself

PostPosted: 29 Nov 2010 22:02
by denniswmo
I have noticed that the port keeps changing from the assigned 6436 to a variety of others, and seems to be different each time I check it. When I change it back, Shareaza freezes for a moment, then resumes. What's going on? Why can't I keep it on the port I want?

Re: port changes itself

PostPosted: 30 Nov 2010 00:39
by old_death
Have you checked the random port option in the settings?

Re: port changes itself

PostPosted: 30 Nov 2010 17:24
by denniswmo
The random port option checkbox is clear. I have not selected it. This is part of my concern, as I would expect the port to change randomly had this option been selected. FYI I am using Windows 7 Home Premium. I wonder f this may have something to do with it, however I doubt it. I am using the latest Shareaza version as well. Thoughts?

Re: port changes itself

PostPosted: 30 Nov 2010 19:06
by old_death
Have you tried uninstalling and installing again?

What version are you using exactly? The latest stable (2.3.5.0) or one of the most recent alpha builds (2.3.5.1 r88xx)?

Re: port changes itself

PostPosted: 30 Nov 2010 19:37
by denniswmo
2.3.5.0

Re: port changes itself

PostPosted: 30 Nov 2010 19:40
by raspopov
Its ordinary feature when Shareaza tries to select other port in case original is locked by some network application.

Re: port changes itself

PostPosted: 30 Nov 2010 20:10
by denniswmo
I don't know of any other application that would be using that port. I have not tried uninstalling and reinstalling, but will do so now. The port is different almost every time I open the settings, even when I close it and reopen it immediatley after. That seems strange to me

Re: port changes itself

PostPosted: 06 Dec 2010 02:34
by ailurophobe
Random guess an anti-virus or firewall software issue making Shareaza lose the port and fail to reacquire it (because the security software still has it).

Re: port changes itself

PostPosted: 06 Dec 2010 04:41
by raspopov

Re: port changes itself

PostPosted: 06 Dec 2010 17:16
by ailurophobe
Why? Some (badly written) security software (SS) does (or did anyway) work by setting itself as a "proxy" between applications and the actual sockets, so the application would get its sockets from the SS and the SS would handle the actual Windows sockets. When something went wrong the application would try to get back its port but it would still be reserved since the SS failed to release it when the application lost it. Or thought it lost it when actually the SS was incompatible. Not saying that is the case here, but curious of how you can exclude it flat out.

Re: port changes itself

PostPosted: 06 Dec 2010 17:23
by raspopov
Wrong, all security software (including viruses) uses TCP layer drivers and absolutely transparent for client ports. It must be regular application with same port opened which Shareaza tries to use.

Re: port changes itself

PostPosted: 06 Dec 2010 17:49
by ailurophobe
Thanks, actually that is only true for software that was designed or re-factored by someone who knows what they are doing within the last decade or so, but I get your point.