# Defining the TCP/IP Monitor preferences

Using the Preferences page, you can define the TCP/IP Monitor attributes.

To define these preferences, complete the following steps:

1. From the toolbar, select Window > Preferences.
2. In the Preferences window, expand Run/Debug and then select TCP/IP Monitor.
3. Select the Show TCP/IP Monitor View when there is activity check box if you want to display the TCP/IP Monitor view when there is activity through a TCP/IP monitoring server.
4. To add a TCP/IP monitoring server, complete the following:
   1. Under the TCP/IP Monitors lists, click Add. A New Monitor dialog opens.
   2. Specify the following settings, then click OK:

   Option | Description
   --- | ---
   Local monitoring port | Specify a unique port number on your local machine.
   Host name | Specify the host name or IP address of the machine where the server is running.
   Port | Specify the port number of the remote server.

   Type

   Specify whether the request type from the Web browser are sent by HTTP or TCP/IP. If the HTTP option is selected the requests from the Web browser are modified so that the HTTP header points to the remote machine and separated if multiple HTTP requests are received in the same connection. If the TCP/IP option is selected, all the requests are sent byte for byte and the TCP/IP Monitor will not translate or modify any requests that it forwards.

   Timeout (in milliseconds) | Specify the length of time, in milliseconds, that you can wait before ending the TCP/IP connection to a server.

5. Use the Start and Stop buttons to manage the TCP/IP monitoring servers. The TCP/IP Monitor table lists the available TCP/IP monitoring servers. You can add, edit, remove, start or stop the available TCP/IP monitoring servers from the TCP/IP Monitor table. The Status column shows if the TCP/IP monitor is started or stopped. The Host name column shows the host name or IP address of the machine where the server is running. The Type column shows whether the request type from the Web browser are sent by HTTP or TCP/IP.
6. Click Apply and then OK to save your changes.

Parent topic: Defining server preferences
Related reference
TCP/IP Monitor view