Changing Ports of the UltraVR

Some ports are occupied when the UltraVR is being started. If those ports are occupied by other applications or the format of port numbers is incorrect, the UltraVR cannot be started. You must re-configure ports of the UltraVR.

Prerequisites

Context

For example, when the UltraVR Server fails to be started, a message is displayed indicating that the linux.trap.listening.port=10161 port is occupied and the linux.http.to.https.redirect.port=80ab port is with an incorrect format.

Procedure

  1. Use PuTTY to log in to the UltraVR management server as user root.
  2. Run the TMOUT=0 command to prevent PuTTY from exiting due to session timeout.

    After you run this command, the system continues to run when no operation is performed, resulting a risk. For security purposes, you are advised to run exit to exit the system after completing your operations.

  3. Run cd /opt/UltraVR/Runtime/bin/config/conf to enter the path for saving the port configuration file.
  4. Run the vi port.ini command to open the port.ini port configuration file.
  5. Press i to go to the edit mode and edit the port.ini file.
  6. Re-configure the port number as prompted or based on the port number configuration requirements. For example, the port numbers to be changed are linux.trap.listening.port=10162 and linux.http.to.https.redirect.port=8080.
  7. After you have edited the port configuration file, press Esc and enter :wq! to save the changes and close the port.ini file.
  8. Run cd /opt/UltraVR/Runtime/bin to enter the script save path.
  9. Run the sh startSystem.sh command to start the UltraVR.

    • If the system is successfully restarted, no further operation is required.
    • If the system fails to be restarted, continue to configure the port.ini file till the UltraVR is successfully restarted.


Copyright © Huawei Technologies Co., Ltd.