Table of ContentsPreviousNextIndex


 


6 Editing service ports

Editing service ports

This chapter describes how to edit the TCP service port configuration on Windows, Linux, and Mac OS X.

If you choose to use TCP service ports other than 7050 for SPM services and 7008 for mental ray network rendering, then after each software installation you must edit the TCP service ports to the non-default port of your choice. This must be done on the license server machine and the client machines.

To edit the service ports on Windows

You can also use the Product Configuration Wizard to edit the service ports. For more information, see Configuring service ports using the Product Configuration Wizard.

  1. Make sure you have administrator privileges on your machine.
  2. In a text editor, such as Notepad, open the file:
  3. C:\Windows\system32\drivers\etc\services

  4. Edit the lines:
  5. mi-spm 7050/tcp
    mayaray3651 7008/tcp

    to

    mi-spm <yourportnumber>/tcp
    mayaray3651 <yourportnumber>/tcp

    where <yourportnumber> is the port number to use.

  6. Save the file.
    Tip

    To edit the service port on Windows you could also re-run the mental ray installer. Select Modify and click Next to get to the Service Configuration window where you would edit the service ports.

To edit the TCP service ports on Linux
  1. Log in as root.
  2. Open the file /etc/services using your preferred text editor.
  3. Edit the lines:
  4. mi-spm 7050/tcp
    mayaray3651 7008/tcp

    to

    mi-spm <yourportnumber>/tcp
    mayaray3651 <yourportnumber>/tcp

  5. Save the file.
To edit the TCP service ports on Mac OS X 10.5 (Leopard)

Open a Terminal window and do one of the following (depending on the type of service you are using):

To edit the TCP service ports on Mac OS X 10.4 (Tiger)
  1. From the Apple Finder menu, select Go > Applications and then double-click the Utilities folder.
  2. Double-click the NetInfo Manager icon.
  3. Under the Services directory of the NetInfo database, find and select the appropriate service, for example, mayaray3651 or mi-spm.
  4. 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.
  5. Select the port field and change its value to the desired port number.
  6. Click the lock icon again when you're done.
  7. From the Apple Finder menu, select Domain > Save Changes to commit your changes to the NetInfo database.


Table of ContentsPreviousNextIndex