I have installed an iPhone app from the AppStore that takes a phone number and searches an online database then returns a name that belongs to the entered phone number (and vice versa).

Is there a way for me to know what is the back-end server this app is talking to? (a hostname, or an IP address)?


This only applies to macOS and not to iOS:

You could use Wireshark or lsof which is already included in macOS.

With lsof you can type lsof -i | grep -E "(LISTEN|ESTABLISHED)" into your terminal and it will show you all connections that are actively communicating.

Edit: You could use a custom DNS like pihole to see which domains are requested by the app.

| improve this answer | |
  • I forgot to mention that the app is an iPhone app. Is this method still valid in my case? – Ahmad Mar 12 '18 at 8:27
  • No for iOS, this approach will sadly not work. – Graham Miln Mar 12 '18 at 8:49
  • No this won't work for iOS but you could use the method suggested in the edit. – joelfischerr Mar 12 '18 at 9:54

Not the answer you're looking for? Browse other questions tagged .