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