Examine the WebSphere configuration to determine the JNDI port to specify.
In the WebSphere administration console, navigate to Servers > Application Servers > Your_Server > Ports.
Look at the BOOTSTRAP_ADDRESS property. Use the specified port in the java.naming.provider.url property.
The java.naming.provider.url uses localhost as the hostname. WebSphere replicates a JNDI server on each node in the cluster so that each application server has its own JNDI server to query. Specify localhost for the host so that each application server in the cluster is used as the JNDI server that Identity Manager queries when the DataSource is being located.