000024045 - java.net.BindException: Cannot assign requested address

Document created by RSA Customer Support Employee on Jun 16, 2016Last modified by RSA Customer Support Employee on Apr 21, 2017
Version 2Show Document
  • View in full screen mode

Article Content

Article Number000024045
Applies ToRSA Authentication Agent 5.0.3 API for Java
IssueAUTHa0.<init>():? - ServerExchange error: Cannot assign requested address
AUTHaz.<init>():? - Cannot create AuthSession: ServerExchange error: java.net.BindException: Cannot assign requested address
CauseThe IP address set in the RSA_AGENT_HOST field is not an address used by the operating system (it's possible it was mistyped). The underlying Java networking call is trying to use a non-existent IP address for this machine.
ResolutionThe value for the RSA_AGENT_HOST field should either be commented out (so the code picks the default value for an IP address that matches the system hostname) or should be set to a value that exists in the configuration of the system. NOTE: The IP address used by the RSA Authentication Agent API must match the corresponding Authentication Manager's Agent Host configuration.
Workaroundrsa_api.properties file has a RSA_AGENT_HOST (IP override) setting such as the following:

Legacy Article IDa31271