6 references to FormatEndpointAlreadyInUse
Microsoft.AspNetCore.Server.Kestrel.Core (1)
Internal\AddressBinder.cs (1)
94
throw new IOException(CoreStrings.
FormatEndpointAlreadyInUse
(endpoint), ex);
Sockets.BindTests (5)
src\Servers\Kestrel\test\BindTests\AddressRegistrationTests.cs (5)
557
var expectedMessage = CoreStrings.
FormatEndpointAlreadyInUse
($"http://127.0.0.1:{port}");
592
var expectedMessage = CoreStrings.
FormatEndpointAlreadyInUse
($"http://[::1]:{port}");
978
if (exception.Message == CoreStrings.
FormatEndpointAlreadyInUse
(otherAddressString))
986
Assert.Equal(CoreStrings.
FormatEndpointAlreadyInUse
(thisAddressString), exception.Message);
989
log.Message.EndsWith(CoreStrings.
FormatEndpointAlreadyInUse
(thisAddressString), StringComparison.Ordinal)));