Identify the traditional transport and well-known port for remote classic syslog.
Which pairing is appropriate?
Classic syslog conventionally uses UDP 514; secure or reliable deployments can use other transports.
Detailed explanation
UDP 162Incorrect. UDP 162 is SNMP traps.
Incorrect. UDP 162 is SNMP traps.
TCP 465Incorrect. TCP 465 is implicit-TLS mail submission.
Incorrect. TCP 465 is implicit-TLS mail submission.
UDP 636Incorrect. LDAPS uses TCP 636.
Incorrect. LDAPS uses TCP 636.
UDP 514Correct. Classic syslog commonly uses UDP 514.
Correct. Classic syslog commonly uses UDP 514.
Try it yourself
An example you can run in a temporary verification environment.
python3 -c "import socket; print(socket.getservbyname('syslog','udp'))"Expected result
514Key points
- Syslog 514
- Classic uses UDP
- Different from SNMP traps
Notes
- Environment: Python 3 socket service database
- Command output formatting can vary slightly by distribution or tool version.
- Run the example in a temporary directory or process when possible.
Foundation review
Read the scope first
Check whether the command acts on the current shell, a new process, an existing process, or a file.
Verify the observable result
Use the supplied command and compare the output with the expected result.