thanks, Roland:

I think you are right.  the apache httpclient code seems  hardcoded the
local port to 0 when creating a socket. Sounds like this should not be a
vista specific issue.

This depends on some low level settings related to address re-use.

just wonder how you find those low level settings and maybe change it and
make it working?

thanks,

Michelle



                                                                       
             Roland Weber                                              
             <[EMAIL PROTECTED]                                         
             so.net>                                                    To
                                       HttpClient User Discussion      
             03/19/2007 01:02          <[email protected]
             PM                        >                               
                                                                        cc
                                                                       
             Please respond to                                     Subject
             "HttpClient User          Re: java.net.BindException on   
                Discussion"            windows vista                   
             <httpclient-user@                                         
             jakarta.apache.or                                         
                    g>                                                 
                                                                       
                                                                       
                                                                       




Hello Michelle,

>  this seems a windows vista issue only. can  anyone  throw some light?
> Here is the exception:
>
> java.net.BindException: Address already in use: NET_Bind

I assume you were to trying to bind the socket locally to a specific
port number. In that case it is a problem with Windows choosing a
free port. If you were trying to bind to a specific port locally,
that one was already in use. Note that even after a socket is closed,
the port to which it was bound can remain blocked for some time.
This depends on some low level settings related to address re-use.

hope this helps,
  Roland


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to