You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Emmanuel Lécharny (Jira)" <ji...@apache.org> on 2022/03/13 23:57:00 UTC

[jira] [Updated] (FTPSERVER-292) Starting two servers on the same port should fail

     [ https://issues.apache.org/jira/browse/FTPSERVER-292?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Emmanuel Lécharny updated FTPSERVER-292:
----------------------------------------
    Fix Version/s: 1.1.5
                       (was: 1.1.2)

> Starting two servers on the same port should fail
> -------------------------------------------------
>
>                 Key: FTPSERVER-292
>                 URL: https://issues.apache.org/jira/browse/FTPSERVER-292
>             Project: FtpServer
>          Issue Type: Improvement
>         Environment: windows xp
>            Reporter: Francis De Brabandere
>            Priority: Major
>             Fix For: 1.1.5
>
>
> see this thread:
> http://www.mail-archive.com/ftpserver-users@mina.apache.org/msg00749.html
> I start up a ftp server in my unit tests. But I want to make sure
> there is only one instance running on a port, starting a second server
> on the same port should fail (throw an exception).
> Right now the second server starts up without errors but making a
> connection to the port used gives me the first server...
> =quote=
> Windows has a weird (or wrong)
> treatment of SO_REUSEADDR. You can read more about it here:
> http://msdn.microsoft.com/en-us/library/ms740621(VS.85).aspx
> This has been discussed here before, but with no good resolution. One
> possibility is that we could make our use of SO_REUSEADDR
> configurable.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@mina.apache.org
For additional commands, e-mail: dev-help@mina.apache.org