Change the port number on a slave computer

On each slave computer in a mental ray Satellite network, port number 7416 is set by default. This works well in most cases, but if you want to change the port number to a value other than 7416, you must edit the services file. The port value should be a free TCP/IP port, as determined by your network administrator.

To change the port number on a Windows or Linux computer

  1. In a text editor, open the services file from one of the following locations:
    • (Windows) C:\Windows\system32\drivers\etc\services
    • (Linux and Mac OS X) /etc/services
  2. In the following line, change the number 7416 to the desired port number:
    mi-raysat2016 7416/tcp
  3. Restart the mental ray Satellite service using one of the following commands:
    • For Linux, use the shell command
      /etc/init.d/xinetd restart
      Note: This will completely restart the xinetd daemon and its services.
    • For Windows, use these Command Prompt commands as Administrator to stop and then restart the service:
      net stop "mental ray Satellite 3.13.1 for Maya 2016"
      net start "mental ray Satellite 3.13.1 for Maya 2016"

To change the port number on a Mac OS X 10.8.4 computer

  1. Log in as superuser:
    sudo -s
  2. Open the file /etc/services using your preferred text editor.
  3. Edit the line: mi-raysat2016 7416/tcp.
  4. Save the file.
  5. From the Finder menu, select Go > Applications and then double-click the Utilities folder.
  6. Double-click the NetInfo Manager icon.
  7. Under the Services directory of the NetInfo database, select the appropriate service (mental ray Satellite 3.13.1 for Maya 2016).
  8. Click the lock icon at the bottom of the panel, and then enter your administrator user name and password.

    This allows you to unlock the NetInfo database and make changes.

  9. Select the port field and change its value to the desired port number.
  10. Click the lock icon again when you’re done.
  11. From the Finder menu, select Domain > Save Changes to commit your changes to the NetInfo database.
  12. Restart your computer to restart mental ray Satellite.

To change the port number on a Mac OS X 10.9 computer

  1. Log in as superuser.
    sudo -s
  2. Open the file/etc/services using your preferred text editor.
  3. Edit the line: mi-raysat2016 7416/tcp.
  4. Save the file.
  5. Open a Terminal window and do the following:
    sudo
    /usr/bin/dscl . -change /Services/mi-raysat2016port <currentportnumber>
    <newportnumber>

    For example:

    sudo
    /usr/bin/dscl . -change /Services/mi-raysat2016 port 7416 7109 
    Note: To determine the port you’re currently using, in a Terminal window, type: /bin/dscl . -read /Services/mi-raysat2016
  6. Restart your computer to restart mental ray Satellite.