Issues starting SQL Monitor Web Service (Unable to start Kestrel)
SteBov
Posts: 5 Bronze 1
Have just updated to SQL Monitor 12.0.2.17596 from 11.2.10.14270, we are still receiving alert messages and the base monitor functionality is working normally, however the web service now will not successfully start and stay running, the error message is:
Have attempted to run the service as a domain admin account and get the same error regardless, does anyone know how to resolve this, (since the version has moved from 11 to 12 rolling back is not an option as the sql database is now incompatible)
Ste
[ 8] FATAL Microsoft.AspNetCore.Server.Kestrel - Unable to start Kestrel. System.Net.Sockets.SocketException: An attempt was made to access a socket in a way forbidden by its access permissions. at System.Net.Sockets.Socket.UpdateStatusAfterSocketErrorAndThrowException(SocketError error, String callerName) at System.Net.Sockets.Socket.DoBind(EndPoint endPointSnapshot, SocketAddress socketAddress) at System.Net.Sockets.Socket.Bind(EndPoint localEP) at Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.SocketConnectionListener.<Bind>g__BindSocket|13_0(<>c__DisplayClass13_0& ) at Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.SocketConnectionListener.Bind() at Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.SocketTransportFactory.BindAsync(EndPoint endpoint, CancellationToken cancellationToken) at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Infrastructure.TransportManager.BindAsync(EndPoint endPoint, ConnectionDelegate connectionDelegate, EndpointConfig endpointConfig) at Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerImpl.<>c__DisplayClass29_0`1.<<StartAsync>g__OnBind|0>d.MoveNext() --- End of stack trace from previous location --- at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.AddressBinder.BindEndpointAsync(ListenOptions endpoint, AddressBindContext context) at Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions.BindAsync(AddressBindContext context) at Microsoft.AspNetCore.Server.Kestrel.Core.AnyIPListenOptions.BindAsync(AddressBindContext context) at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.AddressBinder.EndpointsStrategy.BindAsync(AddressBindContext context) at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.AddressBinder.BindAsync(IEnumerable`1 listenOptions, AddressBindContext context) at Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerImpl.BindAsync(CancellationToken cancellationToken) at Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerImpl.StartAsync[TContext](IHttpApplication`1 application, CancellationToken cancellationToken)OS Version: Microsoft Windows 10.0.17763 (X64), .NET Runtime Version: .NET 5.0.10
Have attempted to run the service as a domain admin account and get the same error regardless, does anyone know how to resolve this, (since the version has moved from 11 to 12 rolling back is not an option as the sql database is now incompatible)
Ste
Tagged:
Best Answer
-
SteBov Posts: 5 Bronze 1Turns out that we had an iis site that was binding port 8080 disabling that has solved the issue