--- In
hercules-390@yahoogroups.com <mailto:hercules-390%40yahoogroups.com>
, "Fish" <fish@...> wrote:
>
>
>
http://support.microsoft.com/kb/929851
<
http://support.microsoft.com/kb/929851>
>
> "To comply with Internet Assigned Numbers Authority (IANA)
> recommendations, Microsoft has increased the dynamic client
> port range for outgoing connections in Windows Vista and in
> Windows Server 2008. The new default start port is 49152,
> and the default end port is 65535. This is a change from the
> configuration of earlier versions of Microsoft Windows that
> used a default port range of 1025 through 5000."
Ok, I decided to put things back to how they used
to be in the good old days with this:
fixports.bat:
netsh int ipv4 set dynamicport tcp start=1025 num=3975
netsh int ipv4 set dynamicport udp start=1025 num=3975
netsh int ipv6 set dynamicport udp start=1025 num=3975
netsh int ipv6 set dynamicport tcp start=1025 num=3975
And lo and behold, I was able to cycle through these
"virgin ports".
attempt number 3960: getsockname: rc 0, len 16, listening on 127.0.0.1:1842
attempt number 3961: getsockname: rc 0, len 16, listening on 127.0.0.1:1843
attempt number 3962: getsockname: rc 0, len 16, listening on 127.0.0.1:1844
attempt number 3963: getsockname: rc 0, len 16, listening on 127.0.0.1:1845
attempt number 3964: getsockname: rc 0, len 16, listening on 127.0.0.1:1846
attempt number 3965: getsockname: rc 0, len 16, listening on 127.0.0.1:1847
attempt number 3966: getsockname: rc 0, len 16, listening on 127.0.0.1:1848
attempt number 3967: getsockname: rc 0, len 16, listening on 127.0.0.1:1849
attempt number 3968: getsockname: rc 0, len 16, listening on 127.0.0.1:1850
attempt number 3969: getsockname: rc 0, len 16, listening on 127.0.0.1:1851
attempt number 3970: getsockname: rc 0, len 16, listening on 127.0.0.1:1852
attempt number 3971: getsockname: rc 0, len 16, listening on 127.0.0.1:1853
attempt number 3972: getsockname: rc 0, len 16, listening on 127.0.0.1:1858
attempt number 3973: getsockname: rc 0, len 16, listening on 127.0.0.1:1859
attempt number 3974: getsockname: rc 0, len 16, listening on 127.0.0.1:1860
attempt number 3975: getsockname: rc 0, len 16, listening on 127.0.0.1:1861
attempt number 3976: getsockname: rc 0, len 16, listening on 127.0.0.1:1862
Getting tired of success, I decided to close my Windows
Mail (ex-Outlook Express), which has invoked a problem
with fishbug before.
And lo and behold,
attempt number 7935: getsockname: rc 0, len 16, listening on 127.0.0.1:1846
attempt number 7936: getsockname: rc 0, len 16, listening on 127.0.0.1:1847
attempt number 7937: getsockname: rc 0, len 16, listening on 127.0.0.1:1848
attempt number 7938: getsockname: rc 0, len 16, listening on 127.0.0.1:1849
attempt number 7939: getsockname: rc 0, len 16, listening on 127.0.0.1:1850
attempt number 7940: getsockname: rc 0, len 16, listening on 127.0.0.1:1851
attempt number 7941: getsockname: rc 0, len 16, listening on 127.0.0.1:1852
attempt number 7942: getsockname: rc 0, len 16, listening on 127.0.0.1:1853
attempt number 7943: getsockname: rc 0, len 16, listening on 0.0.0.0:1855
address has changed!
that put an end to the roaring success.
Set it off again and:
attempt number 3954: getsockname: rc 0, len 16, listening on 127.0.0.1:1848
attempt number 3955: getsockname: rc 0, len 16, listening on 127.0.0.1:1849
attempt number 3956: getsockname: rc 0, len 16, listening on 127.0.0.1:1850
attempt number 3957: getsockname: rc 0, len 16, listening on 127.0.0.1:1851
attempt number 3958: getsockname: rc 0, len 16, listening on 127.0.0.1:1852
attempt number 3959: getsockname: rc 0, len 16, listening on 127.0.0.1:1853
attempt number 3960: getsockname: rc 0, len 16, listening on 127.0.0.1:1854
attempt number 3961: getsockname: rc 0, len 16, listening on 0.0.0.0:1855
address has changed!
So, the act of closing Windows Mail appears to have introduced
a "rogue port".
So the obvious questions now are:
Who? Why? When? What? Where? Which?
BFN. Paul.
*******************************************************
Try using the set socket re-use option as fish suggested,
And see if it has any effect :)