Back to Geneos FAQ

Gateway - How to solve "FATAL: Gateway New <INSECURE/SECURE> listen port <port> is unavailable"

Cause Copied

The error means that there is a process already using the port. Below is a sample log entry:

2022-01-01 13:30:00.00+0800 FATAL: Gateway New INSECURE listen port (7039) is unavailable.

Troubleshooting steps Copied

  1. Identify the process using the port by executing the command netstat -panut | grep e.g. netstat -panut | grep 7039
  2. Using the output of step 1, execute the command ps -ef | grep e.g. ps -ef | grep <246789>
  3. Using the output of step 2, determine whether:
    • Option 1: Stop/shut down the process using the port.
    • Option 2: Run the Gateway on a different port.
["Geneos"] ["FAQ"]

Was this topic helpful?