[ 
https://issues.apache.org/jira/browse/DEFT-173?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13071194#comment-13071194
 ] 

Roger Schildmeijer commented on DEFT-173:
-----------------------------------------

I think I agree. Set SO_REUSEADDR true is probably a good idea.

You will still receive an IOException during bind if the (previous) socket is 
in another state...

> setReuseAddress(true) in HttpServer
> -----------------------------------
>
>                 Key: DEFT-173
>                 URL: https://issues.apache.org/jira/browse/DEFT-173
>             Project: Deft
>          Issue Type: Bug
>            Reporter: Adam Lofts
>
> If I terminate deft from eclipse and then start it up again I get an "Address 
> already in use" because the socket is in the TIME_WAIT stage. The solution 
> for this is so set SO_REUSEADDR on the socket which corresponds to 
> ServerSocket.setReuseAddress(true) in java.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to