How does the Application Password Provider determine server's IP address?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements

Welcome Idira to LIVEcommunity!

Our community just got stronger! Explore new identity security resources, connect with experts, and discover more ways to learn and collaborate.

Meet Idira

Secrets Management Articles
2 min read
L3 Networker
No ratings

Question

  1. How does the Application Password provider determine the IP address of the system where the application runs (its own IP address)?
  2. Why does my Application Provider for UNIX / Linux see the application running from IP Address 127.0.0.1?

Answer

  1. The provider uses OS system calls to lookup IP address of the system using its internal name. On Linux/Unix systems name can be found by executing uname -a command. On Windows machines name is defined in computer properties. (Right click on My Computer > Properties > Computer Name)
  2. Most likely it is because the server name is mapped to 127.0.0.1 in /etc/hosts file. In order to correct this, remove the mapping from /etc/hosts file and re-install Application Password Provider on the server.
Q:
How does the Application Password provider determine the IP address of the system where the application runs (its own IP address)?

A: 
The provider uses OS system calls to lookup IP address of the system using its internal name. On Linux/Unix systems name can be found by executing uname -a command. On Windows machines name is defined in computer properties. (Right click on My Computer -> Properties -> Comuter Name)

Q:
Why does my Application Provider for UNIX / Linux see the application running from IP Address 127.0.0.1?

A:
Most likely it is because the server name is mapped to 127.0.0.1 in /etc/hosts file. In order to correct this, remove the mapping from /etc/hosts file and re-install Application Password Provider on the server.
Rate this article: