often times when working on SAP development, we come across a situation where we need find the IP address/hostname /port number of the SAP application server. This can be connecting to a remote system/connection to your backend system via BTP or making an ODATA call from external system.
here are a few useful ways to find the server details:
1)you can always use tcode : OS01 to find the IP address:
2) Transaction code: SMICM->Goto->services will give the hostname and http and https ports:
Hope this helps,if you know of any other way ,Please post it below.