Update port values

Important

This content is being retired and may not be updated in the future. The support for Machine Learning Server will end on July 1, 2022. For more information, see What's happening to Machine Learning Server?

Applies to: Machine Learning Server, Microsoft R Server

You can update the ports numbers for the web node, compute node, or deployr-rserve (a forked version of RServe).

Machine Learning Server 9.3 and later

In Machine Learning Server 9.3 and later, you can use admin extension of the Azure Command Line Interface (Azure CLI) to set up and manage your configuration, including updating the local 'admin' account password.

Important

  • This password is set while you are first configuring your nodes.
  • You do not need an Azure subscription to use this CLI. It is installed as part of Machine Learning Server and runs locally.

To update port values:

  1. On the machine hosting the node, launch a command-line window or terminal with administrator (Windows) or root/sudo (Linux) privileges.

  2. Run the command to update the port value(s), where <Port> should be replaced by the actual port number without the brackets.

    # With elevated privileges, run the following commands.
    # List current port values
    az ml admin port list
    
    # Update port values
    az ml admin port update --webnode <Port> --computenode <Port> --rserve <Port>
    
  3. Restart the node for the change to go into effect.

Earlier versions: 9.0 - 9.2

To update port values:

  1. Log in to the machine on which your web node or compute node is installed.

  2. Launch the administration utility with administrator privileges (Windows) or root/sudo privileges (Linux).

  3. From the main menu, choose the option Change service ports.

  4. From the submenu, choose the port you want to update.

  5. Enter the port number.

    The port number will be updated the next time the service is restarted.