When defining Application Entities, you will need the host name (or IP address), and port number of your machine and any remote machines you will connect to, in addition to other information. This section provides information on how to retrieve this information.
Determine the IP address of your machine by completing the following instructions for your platform.
At the UNIX prompt, type /sbin/ifconfig -a to return the IP (ether) address or type netstat -i to return the hostname associated with the IP address.
Open Finder. Under Applications/Utilities launch Network Utility. Select the Info tab and then select the network interface from the pull down menu.
Use the information in the following section to determine available TCP/IP ports.
Use the netstat -a command to return port information.
Open Finder. Under Applications/Utilities launch Network Utility. Select the Netstat tab and select the information you want to return.