Closed imclint21 closed 5 years ago
I'm unable to reproduce this problem. I remember having problems with some older versions of the FTP server, but those should be fixed in 2.2.1.
I tested it with both Linux and Windows, with the following commands:
sudo dotnet run -- -a "0.0.0.0" in-memory
sudo dotnet run -- -a "::" in-memory
sudo dotnet run -- -a "*" in-memory
Do you have tried the library directly ?
Will do
I created a program (same as the quickstart sample) and used the library in version 2.2.1. Everything works as expected - both under Linux and Windows.
Do you use .NET Core, .NET Framework, or Mono on Windows or Linux?
.Net core / windows and linux, please send me the snippet that you use to bind on 0.0.0.0
Here's a test project that binds the server to 0.0.0.0 (without logging).
PS: You probably need to run the FTP Server with sudo
under Linux.
Yes I confirm that it works, on linux normally I'm already in root, I will try and keep you informed
We use it for https://clicksguard.io and it works fine !
Hi,
When I listen on 0.0.0.0 it throw an error, do you know the reason ?
IPv4 address 0.0.0.0 and IPv6 address ::0 are unspecified addresses that cannot be used as a target address
You need to change
public string ServerAddress { get; set; }
to a IPAddress to add the possibility to use IPAddress.Any or simply add a wildcard like*
Thanks