![]() ![]() ![]()
|
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.
- Make sure you have administrator privileges on your machine.
- In a text editor, such as Notepad, open the file:
C:\Windows\system32\drivers\etc\services
- Edit the lines:
mi-spm 7050/tcp
mayaray3651 7008/tcpto
mi-spm <yourportnumber>/tcp
mayaray3651 <yourportnumber>/tcpwhere <yourportnumber> is the port number to use.
- Save the file.
To edit the TCP service ports on Linux
- Log in as root.
- Open the file /etc/services using your preferred text editor.
- Edit the lines:
mi-spm 7050/tcp
mayaray3651 7008/tcpto
mi-spm <yourportnumber>/tcp
mayaray3651 <yourportnumber>/tcp- 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):
- mayaray3651:
sudo /bin/dscl . -change /Services/mayaray3651 port
< currentportnumber> < newportnumber>For example:
sudo /bin/dscl . -change /Services/mayaray3651 port 7008 7009
- mi-spm:
sudo /bin/dscl . -change /Services/mi-spm port
< currentportnumber> < newportnumber>For example:
sudo /bin/dscl . -change /Services/mi-spm port 7008 7009
To edit the TCP service ports on Mac OS X 10.4 (Tiger)
- From the Apple Finder menu, select Go > Applications and then double-click the Utilities folder.
- Double-click the NetInfo Manager icon.
- Under the Services directory of the NetInfo database, find and select the appropriate service, for example, mayaray3651 or mi-spm.
- 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.
- Select the port field and change its value to the desired port number.
- Click the lock icon again when you're done.
- From the Apple Finder menu, select Domain > Save Changes to commit your changes to the NetInfo database.
![]() ![]() ![]()
|