Port is in use by another task

A permission denied error occurs if a port that CICS® Transaction Gateway attempts to use is already in use by another task.

Symptom

The following error message is displayed:

EDC5111I PERMISSION DENIED

Probable cause

The port that CICS Transaction Gateway is attempting to use is already in use.

Action

Do one of the following:
  • Enforce the exclusive use of the port for this CICS Transaction Gateway job. You can reserve a port for a given jobname in TCPIP.PROFILE. Reconfigure the address space that is already using the required port so that it uses a different port, then restart.
  • Configure the Gateway daemon to use a different port number.