Hello,
On my Windows server 2016, port 5000 is blocked by the software Wininit.exe (Windows Start-Up Application).
Syslogd_Service.exe service starts briefly and then crashes. How can I change port 5000?
Application: SolarWinds.Kiwi.Syslog.Service.exe
CoreCLR Version: 7.0.423.11508
.NET Version: 7.0.4
Description: The process was terminated due to an unhandled exception.
Exception Info: System.IO.IOException: Failed to bind to address https://0.0.0.0:5000: address already in use.
---> Microsoft.AspNetCore.Connections.AddressInUseException: Only one usage of each socket address (protocol/network address/port) is normally permitted.
---> System.Net.Sockets.SocketException (10048): Only one usage of each socket address (protocol/network address/port) is normally permitted.
at System.Net.Sockets.Socket.UpdateStatusAfterSocketErrorAndThrowException(SocketError error, Boolean disconnectOnFailure, 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.SocketTransportOptions.CreateDefaultBoundListenSocket(EndPoint endpoint)
at Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.SocketConnectionListener.Bind()
--- End of inner exception stack trace ---
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, CancellationToken cancellationToken)
at Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerImpl.<>c__DisplayClass30_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, CancellationToken cancellationToken)
--- End of inner exception stack trace ---
at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.AddressBinder.BindEndpointAsync(ListenOptions endpoint, AddressBindContext context, CancellationToken cancellationToken)
at Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions.BindAsync(AddressBindContext context, CancellationToken cancellationToken)
at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.AddressBinder.EndpointsStrategy.BindAsync(AddressBindContext context, CancellationToken cancellationToken)
at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.AddressBinder.BindAsync(IEnumerable`1 listenOptions, AddressBindContext context, CancellationToken cancellationToken)
at Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerImpl.BindAsync(CancellationToken cancellationToken)
at Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerImpl.StartAsync[TContext](IHttpApplication`1 application, CancellationToken cancellationToken)
at Microsoft.AspNetCore.Hosting.GenericWebHostService.StartAsync(CancellationToken cancellationToken)
at Microsoft.Extensions.Hosting.Internal.Host.StartAsync(CancellationToken cancellationToken)
at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.RunAsync(IHost host, CancellationToken token)
at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.RunAsync(IHost host, CancellationToken token)
at SolarWinds.Kiwi.Syslog.Service.Program.<>c__DisplayClass0_0.<<Main>b__0>d.MoveNext()
--- End of stack trace from previous location ---
at SolarWinds.Kiwi.Syslog.Service.Program.Main(String[] args)
at SolarWinds.Kiwi.Syslog.Service.Program.<Main>(String[] args)
Faulting application name: SolarWinds.Kiwi.Syslog.Service.exe, version: 1.1.0.7, time stamp: 0x65310000
Faulting module name: KERNELBASE.dll, version: 10.0.14393.6343, time stamp: 0x65028150
Exception code: 0xe0434352
Fault offset: 0x0000000000026ea8
Faulting process id: 0x1e40
Faulting application start time: 0x01da4ebd9bf45bc9
Faulting application path: C:\Program Files (x86)\SolarWinds\Kiwi Syslog Server NG\SolarWinds.Kiwi.Syslog.Service.exe
Faulting module path: C:\Windows\System32\KERNELBASE.dll
Report Id: aeb0673b-e45b-431b-8c2b-6f5fbcbfff34
Faulting package full name:
Faulting package-relative application ID:
2024-01-24 13:11:32.477 +01:00 [INF] Initializing fields
2024-01-24 13:11:32.498 +01:00 [WRN] Deserialization of empty JSON
2024-01-24 13:11:32.681 +01:00 [INF] MaxDegreeOfParallelism: 3
2024-01-24 13:11:32.681 +01:00 [INF] BoundedCapacity: Unbounded
2024-01-24 13:11:32.687 +01:00 [INF] MaxDegreeOfParallelism: 1
2024-01-24 13:11:32.687 +01:00 [INF] BoundedCapacity: -1
2024-01-24 13:11:32.697 +01:00 [INF] EventId: 1011 - Syslog Collector Started on IPv6 TCP Endpoint [::]:1468
2024-01-24 13:11:32.697 +01:00 [INF] EventId: 1018 - Syslog Collector Started on :: IPv6 UDP Port 514
2024-01-24 13:11:32.697 +01:00 [INF] EventId: 1018 - Syslog Collector Started on 0.0.0.0 UDP Port 514
2024-01-24 13:11:32.697 +01:00 [INF] EventId: 1011 - Syslog Collector Started on TCP Endpoint 0.0.0.0:1468
2024-01-24 13:11:32.702 +01:00 [INF] C:\Windows\system32\config\systemprofile\AppData\Local\SolarWinds\KiwiSyslogService\Settings\sw.snmp.encoding.config not found
2024-01-24 13:11:32.709 +01:00 [INF] MaxDegreeOfParallelism: 2
2024-01-24 13:11:32.709 +01:00 [INF] BoundedCapacity: -1
2024-01-24 13:11:32.758 +01:00 [INF] Service started
2024-01-24 13:11:32.760 +01:00 [INF] Service started
2024-01-24 13:11:32.812 +01:00 [INF] Registering SNMPv3 Local IPV4 Port: 162
2024-01-24 13:11:32.813 +01:00 [INF] Registering SNMPv3 Local IPV6 Port: 162
2024-01-24 13:11:32.814 +01:00 [INF] Cleaning up previous watchdog executables, if they exist.
2024-01-24 13:11:32.815 +01:00 [INF] Delete old watchdog executables in this service's folder, C:\Program Files (x86)\SolarWinds\Kiwi Syslog Server NG, by using the wildcard search of SolarWinds.Kiwi.Syslog.Service.exe.WatchDog_*
2024-01-24 13:11:32.824 +01:00 [INF] Starting IdentityServer4 version 4.1.2+997a6cdd643e46cd5762b710c4ddc43574cbec2e
2024-01-24 13:11:32.830 +01:00 [INF] You are using the in-memory version of the persisted grant store. This will store consent decisions, authorization codes, refresh and reference tokens in memory only. If you are using any of those features in production, you want to switch to a different store implementation.
2024-01-24 13:11:32.833 +01:00 [INF] Using the default authentication scheme Bearer for IdentityServer
2024-01-24 13:11:32.834 +01:00 [INF] Authentication scheme Bearer is configured for IdentityServer, but it is not a scheme that supports signin (like cookies). If you support interactive logins via the browser, then a cookie-based scheme should be used.
2024-01-24 13:11:32.868 +01:00 [INF] Service stopped
2024-01-24 13:11:32.868 +01:00 [INF] Service stopped
2024-01-24 13:11:32.899 +01:00 [INF] Service stopped
2024-01-24 13:11:32.900 +01:00 [INF] Got ShuttingDownEvent. Exiting.
2024-01-24 13:11:32.910 +01:00 [ERR] Syslog Service Unhandled Exception Failed to bind to address https://0.0.0.0:5000: address already in use.
at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.AddressBinder.BindEndpointAsync(ListenOptions endpoint, AddressBindContext context, CancellationToken cancellationToken)
at Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions.BindAsync(AddressBindContext context, CancellationToken cancellationToken)
at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.AddressBinder.EndpointsStrategy.BindAsync(AddressBindContext context, CancellationToken cancellationToken)
at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.AddressBinder.BindAsync(IEnumerable`1 listenOptions, AddressBindContext context, CancellationToken cancellationToken)
at Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerImpl.BindAsync(CancellationToken cancellationToken)
at Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerImpl.StartAsync[TContext](IHttpApplication`1 application, CancellationToken cancellationToken)
at Microsoft.AspNetCore.Hosting.GenericWebHostService.StartAsync(CancellationToken cancellationToken)
at Microsoft.Extensions.Hosting.Internal.Host.StartAsync(CancellationToken cancellationToken)
at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.RunAsync(IHost host, CancellationToken token)
at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.RunAsync(IHost host, CancellationToken token)
at SolarWinds.Kiwi.Syslog.Service.Program.<>c__DisplayClass0_0.<<Main>b__0>d.MoveNext()
--- End of stack trace from previous location ---
at SolarWinds.Kiwi.Syslog.Service.Program.Main(String[] args)
at SolarWinds.Kiwi.Syslog.Service.Program.<Main>(String[] args)
2024-01-24 13:11:40.037 +01:00 [INF] Initializing fields
2024-01-24 13:11:40.059 +01:00 [WRN] Deserialization of empty JSON
2024-01-24 13:11:40.240 +01:00 [INF] MaxDegreeOfParallelism: 3
2024-01-24 13:11:40.241 +01:00 [INF] BoundedCapacity: Unbounded
2024-01-24 13:11:40.246 +01:00 [INF] MaxDegreeOfParallelism: 1
2024-01-24 13:11:40.246 +01:00 [INF] BoundedCapacity: -1
2024-01-24 13:11:40.257 +01:00 [INF] EventId: 1018 - Syslog Collector Started on 0.0.0.0 UDP Port 514
2024-01-24 13:11:40.258 +01:00 [INF] EventId: 1011 - Syslog Collector Started on IPv6 TCP Endpoint [::]:1468
2024-01-24 13:11:40.258 +01:00 [INF] EventId: 1018 - Syslog Collector Started on :: IPv6 UDP Port 514
2024-01-24 13:11:40.258 +01:00 [INF] EventId: 1011 - Syslog Collector Started on TCP Endpoint 0.0.0.0:1468
2024-01-24 13:11:40.262 +01:00 [INF] C:\Windows\system32\config\systemprofile\AppData\Local\SolarWinds\KiwiSyslogService\Settings\sw.snmp.encoding.config not found
2024-01-24 13:11:40.268 +01:00 [INF] MaxDegreeOfParallelism: 2
2024-01-24 13:11:40.269 +01:00 [INF] BoundedCapacity: -1
2024-01-24 13:11:40.320 +01:00 [INF] Service started
2024-01-24 13:11:40.322 +01:00 [INF] Service started
2024-01-24 13:11:40.379 +01:00 [INF] Registering SNMPv3 Local IPV4 Port: 162
2024-01-24 13:11:40.380 +01:00 [INF] Registering SNMPv3 Local IPV6 Port: 162
2024-01-24 13:11:40.381 +01:00 [INF] Cleaning up previous watchdog executables, if they exist.
2024-01-24 13:11:40.381 +01:00 [INF] Delete old watchdog executables in this service's folder, C:\Program Files (x86)\SolarWinds\Kiwi Syslog Server NG, by using the wildcard search of SolarWinds.Kiwi.Syslog.Service.exe.WatchDog_*
2024-01-24 13:11:40.390 +01:00 [INF] Starting IdentityServer4 version 4.1.2+997a6cdd643e46cd5762b710c4ddc43574cbec2e
2024-01-24 13:11:40.396 +01:00 [INF] You are using the in-memory version of the persisted grant store. This will store consent decisions, authorization codes, refresh and reference tokens in memory only. If you are using any of those features in production, you want to switch to a different store implementation.
2024-01-24 13:11:40.399 +01:00 [INF] Using the default authentication scheme Bearer for IdentityServer
2024-01-24 13:11:40.399 +01:00 [INF] Authentication scheme Bearer is configured for IdentityServer, but it is not a scheme that supports signin (like cookies). If you support interactive logins via the browser, then a cookie-based scheme should be used.
2024-01-24 13:11:40.436 +01:00 [INF] Service stopped
2024-01-24 13:11:40.437 +01:00 [INF] Service stopped
2024-01-24 13:11:40.470 +01:00 [INF] Service stopped
2024-01-24 13:11:40.471 +01:00 [INF] Got ShuttingDownEvent. Exiting.
2024-01-24 13:11:40.482 +01:00 [ERR] Syslog Service Unhandled Exception Failed to bind to address https://0.0.0.0:5000: address already in use.
at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.AddressBinder.BindEndpointAsync(ListenOptions endpoint, AddressBindContext context, CancellationToken cancellationToken)
at Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions.BindAsync(AddressBindContext context, CancellationToken cancellationToken)
at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.AddressBinder.EndpointsStrategy.BindAsync(AddressBindContext context, CancellationToken cancellationToken)
at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.AddressBinder.BindAsync(IEnumerable`1 listenOptions, AddressBindContext context, CancellationToken cancellationToken)
at Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerImpl.BindAsync(CancellationToken cancellationToken)
at Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerImpl.StartAsync[TContext](IHttpApplication`1 application, CancellationToken cancellationToken)
at Microsoft.AspNetCore.Hosting.GenericWebHostService.StartAsync(CancellationToken cancellationToken)
at Microsoft.Extensions.Hosting.Internal.Host.StartAsync(CancellationToken cancellationToken)
at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.RunAsync(IHost host, CancellationToken token)
at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.RunAsync(IHost host, CancellationToken token)
at SolarWinds.Kiwi.Syslog.Service.Program.<>c__DisplayClass0_0.<<Main>b__0>d.MoveNext()
--- End of stack trace from previous location ---
at SolarWinds.Kiwi.Syslog.Service.Program.Main(String[] args)
at SolarWinds.Kiwi.Syslog.Service.Program.<Main>(String[] args)