Error: port out of range when starting CA Access Gateway (SPS)
search cancel

Error: port out of range when starting CA Access Gateway (SPS)

book

Article ID: 246844

calendar_today

Updated On:

Products

SITEMINDER CA Single Sign On Secure Proxy Server (SiteMinder)

Issue/Introduction

 

When starting CA Access Gateway (SPS), this one fails to start and it reports error:

    [15/Jul/2022:14:00:16-367] [ERROR] - InitCatalina failed ('Protocol handler initialization failed')
    [15/Jul/2022:14:00:16-367] [ERROR] - org.apache.catalina.LifecycleException: Protocol handler initialization failed
    [15/Jul/2022:14:00:16-370] [ERROR] - Caused by: java.lang.IllegalArgumentException: port out of range:71666
    [15/Jul/2022:14:00:16-372] [ERROR] - ProxyServer initialization failed.

 

Environment

 

  CA Access Gateway (SPS) 12.8SP5 on RedHat 7;
   jdk 1.8.0_321;

 

Cause

 

The local.http.port and local.https.port values in server.conf are set to a too high value, which is out of range.

   server.conf:

                   local.host="*"
                   local.http.port=71666

                   local.https.port=71366

   Out of the box:

                   local.host="*"
                   local.http.port="8080"

                   #local.https.port=543

The highest port that can be used on the protocol TCP is 65535 (1).

 

Resolution

 

  • Set local.http.port and local.http.port to a value under 65535 to solve this issue.

 

Additional Information

 

(1)

    What is the Highest TCP Port Number Allowed?

     The highest TCP port number is 65,535.