4.4 Set Up Listener on the Data/Application Server
A Windows service called the (LCONNECT) provides the Data/Application Server's side of the TCP/IP link to the Web Server. The Listener must be set up before it can be linked to the Web Server.
In this task, you will start the Listener on the Windows Data/Application Server preferably using the Windows User created during the install.
If you are using an IBM i Data/Application Server, a default listener is configured on IBM i as part of the LANSA installation. For details, refer to LANSA for the Web Configuration and Set Up on IBM i in the .
Step 1. Start the LANSA Communications Administrator
1. On the Windows Data/Application Server, start the LANSA Communications Administrator:
a. Open the folder from the menu.
b. Select the folder.
c. Select from the list and click it to start.
In the the Host Routes will be displayed:
2. Select the menu and choose the command (or use Ctrl+I) to open the dialog box.
If the menu item item is not available, it means that it is not installed.
To install a listener, start a command prompt and run this command from the LANSA Connect directory (for example, <drive>:\Program Files\LANSA\Connect):
lcolist -i
Once this has been completed, select the menu again and choose the command to open the dialog box.
2. In the dialog box:
a. Ensure that is selected as the .
b. Set to 4.
3. Press the button. The listener service will be started.
4. Press to update the Listener Information.
5. Exit from the LANSA
Step 2. Is Listener Service set to Start Automatically?
It is recommended that the listener is set to start up automatically.
The Server install sets automatic start-up by default. If you are not sure whether this default is in use, from the LANSA Connect directory (for example, <drive>:\Program Files\LANSA\Connect) start a command prompt and execute this command:
lcolist -iauto
-iauto will stop the listener and change the start mode to automatic, but it will not start the listener.
Start the listener again using this command:
lcolist -s