Which port number is used by the rexec service?

Prepare for the CPSA Port Numbers exam with multiple choice questions and detailed explanations. Understand key protocols and services to excel in your test.

Multiple Choice

Which port number is used by the rexec service?

Explanation:
Rexec is a remote command execution service that historically listens on TCP port 512, so clients connect to that port to issue commands on a remote host. Port numbers act as identifiers for specific services, and 512 is the designated port for rexec. The other numbers correspond to different services: 2049 is used by NFS, 3389 by Microsoft Remote Desktop Protocol, and 161 by SNMP. Therefore, the rexec service uses port 512.

Rexec is a remote command execution service that historically listens on TCP port 512, so clients connect to that port to issue commands on a remote host. Port numbers act as identifiers for specific services, and 512 is the designated port for rexec. The other numbers correspond to different services: 2049 is used by NFS, 3389 by Microsoft Remote Desktop Protocol, and 161 by SNMP. Therefore, the rexec service uses port 512.

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy