IP Address

How to make Desktop Central Server use a specific IP Address, if the computer has multiple NICs?

If you have already installed Desktop Central Agents in some of the computers you manage follow the steps given below. You can either configure the agents manualy or automatically.

Manual Agent Configuration

  1. For Windows - Download configureDCAgentServerCommunication.txt and rename it to configureDCAgentServerCommunication.vbs.

    For Mac - Download configureDCAgentServerCommunication_mac.txt and rename it to configureDCAgentServerCommunication_mac.sh.

    For Linux - Download configureDCAgentServerCommunication_linux.txt and rename it to configureDCAgentServerCommunication_linux.sh.

  2. Copy the script to the client computers where the agent is installed.
  3. Open a command prompt/terminal with run as admin/ROOT privilege and execute the command given below:

    For Windows - cscript configureDCAgentServerCommunication.vbs <DCServer IP Address>

    Example: cscript configureDCAgentServerCommunication.vbs 192.168.112.146 

    For Mac - sudo ./configureDCAgentServerCommunication_mac.sh <DCServer IP Address>

    Example: sudo ./configureDCAgentServerCommunication_mac.sh 192.168.112.146 

    For Linux - sudo ./configureDCAgentServerCommunication_linux.sh <DCServer IP Address> 

    Example - sudo ./configureDCAgentServerCommunication_linux.sh 192.168.112.146  

Automatic Agent Configuration 

You can also automate the above mentioned steps using Desktop Central Custom Script Configuration using the steps given below. These steps are available only for Windows and Mac users.
  1. After downloading the corresponding script file as given in the above step, add it in Configuration -> Script Repository in the web console with <DCServer IP Address> as argument.
  2. To run this script create a custom script using Desktop Central Configuration and deploy it.
  3. To verify if all agents have communicated with the server, follow the steps given below,
    • Open web console, select Admin -> Scope of Management -> computers and using filters, check last contact time of agent.
If the computer running Desktop Central has multiple Network Interface Cards (NICs) and if you wish to restrict the communication of Desktop Central Server to a specific IP address, follow the steps below:
  1. Login to Web Console and select Admin --> Agent settings
  2. Specify the Server IP Address. 
  3. Disable "Automatically detect and save the IP Address change" option and click Save.

    Note: Ensure that the above steps are done correctly else the agent server communication would fail.

  4. Stop Desktop Central Server using Start --> Programs --> ManageEngine Desktop Central --> Stop Desktop Central
  5. Open the wrapper-user.conf file located in <Desktop_Central_Install_Dir>\conf in a text editor
  6. Assign -Dbindaddress="<IP_Address>" in wrapper-user.conf.   
    Example : wrapper.java.additional.15=-Dbindaddress="127.0.0.1" (or) wrapper.java.additional.16=-Dbindaddress="127.0.0.1" 
  7. Open the websettings.conf file located in <Desktop_Central_Install_Dir>\conf in a text editor 
  8. Append enter and save the file. 
  9. Start the Desktop Central Server. 

Important note:

  1. Specify the Server URL as http://<ipaddress>:8020 at the web console. Do not specify Server URL with"localhost" or any other format.
  2. After configuring the above setup make sure that you open the server console manually.