Additional Topics > Medical Imaging in IDL > Using IDL DICOM Network Services > Determining Configuration Parameters

# Determining Configuration Parameters

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.

## Determining the IP Address

Determine the IP address of your machine by completing the following instructions for your platform.

### Windows

1. Click Start > Programs > Accessories > Command Prompt to open a DOS window.
2. At the prompt, type `ipconfig`. This returns the IP address of the local machine.

### UNIX

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.

### Mac OS X

Open Finder. Under Applications/Utilities launch Network Utility. Select the Info tab and then select the network interface from the pull down menu.

## Determining TPC/IP Port Numbers

Use the information in the following section to determine available TCP/IP ports.

### Windows

1. Click Start > Programs > Accessories > Command Prompt to open a DOS window.
2. At the prompt, type `netstat -a`. View the results to determine port availability and status.

### UNIX

Use the `netstat -a` command to return port information.

### Mac OS X

Open Finder. Under Applications/Utilities launch Network Utility. Select the Netstat tab and select the information you want to return.