Tools

Unable to Bind to UDP Port 514

The article resolves an issue with binding to UDP Port 514 in Kiwi Syslog Server. This port binding is required by Kiwi so that you can receive syslog messages.

First published date

10/12/2018 6:00 PM

Last published date

10/12/2018 6:00 PM

Overview

Unable to bind to port 514 (or similar).

Product section

Kiwi Syslog Server

Cause

Kiwi Syslog Daemon error log shows a message like this or similar to this due to a single process bound to a port at any one time. User needs to locate the offending process and shut it down before restarting Kiwi Syslog Daemon again. 

Resolution

In order to bind to the correct port to receive syslog messages, you need to perform the following steps:

  1. Determine which process is using the required port by opening a Windows command prompt and type in the following:  
    • netstat -ano.
    • Upon typing the command, it displays a list of processes and ports they are bound to. 
  2. Locate the process identifier (PID) of the offending process then open the Windows Task Manager and use this to determine the process with the matching PID and then shut it down.
    • Note:If your Windows Task Manager does not display the PID then this option can be enabled by clicking View, and then Select Columns
  3. Once you have shutdown the offending process, you should be able to restart Kiwi Syslog Daemon and have it successfully bind to the correct port and start receiving syslog messages.