By default, the exacqVision Client communicates with exacqVision Servers on port 22609. If your network does not allow port 22609, or if you need to forward the port on multiple exacqVision systems, you can change the exacqVision Server’s listening port number. To do this, complete steps detailed on this page.
NOTE: The exacqVision Default Ports article states that 22610 is reserved for interprocess communication. This is true when using the default client to server port set to 22609. If this is changed to a port other than 22609, the reserved port becomes your chosen port number plus one.
Example: If you change 22609 to 2350, the reserved port becomes 2351.<br><br>
Windows 11, 10, 8, 7, Vista, XP
- Log into the system hosting the exacqVision Server application.<br><br>
- Exit all exacqVision software.<br><br>
- Highlight the exacqVision Server service listed, and Stop the ExacqVision Server service, in one of three ways:
- Press the ‘Stop’ icon from the toolbar.
- Click the ‘Stop’ link from the left-hand side.
- Right-click the service name and select ‘Stop’.
Note: Leave the Services window open, as you will need to restart the service later.<br><br>
- Open the Notepad application. Search for the application from the Windows Start menu, right-click and choose to ‘Run as Administrator’.
<br><br> - Use Notepad to Open the following file:
C:\Program Files\exacqVision\Server\streampi.xml
<br>
If you are using a 32-bit installation, selectProgram Files (x86)
instead ofProgram Files
.<br>
NOTE: In the Open file dialogue, you will likely need to change the file type field from ‘Text Documents (*.txt)’ to All Files (*.*)’ to see file types of other extensions.
<br><br> - In the
streampi.xml
file, scroll down until you find the line which states:<Port value="22609" />
.
Change the number to the port you want to use between the quotation marks (” “). Do NOT use port 22610 since this is reserved. The following example changes the port number to ‘11111’.
<br><br> - After changing the port number, open the File menu, select Save, and close the editor window.<br><br>
- Restart the exacqVision Server Service by clicking ‘Start’ button, link or from the right-click menu, in the Services window that you opened earlier. You should now be able to connect using the new port number.<br><br>
- In the exacqVision Client, make sure the port number on the ‘Add Systems’ page matches the new port number.
NOTE: The exacqVision Web Service is also a client of the exacqVision Server. Therefore, if using the exacqVision Web Service you may also be required to change the connecting port in the exacqVision Web Service Configuration.<br><br>
Ubuntu 20.04, 18.04, 16.04, 14.04, 12.04, 10.04
- Log into the system hosting the exacqVision Server application.<br><br>
- Exit all exacqVision software.<br><br>
- Open a Terminal command prompt by pressing CTRL+ALT+T
NOTE: Depending on system settings, your Terminal window may appear with different colors than pictured.<br><br> - Stop the exacqVision Server by entering one of the following commands:
sudo service edvrserver stop
sudo /etc/init.d/edvrserver stop
NOTE: Thesudo
command elevates your system privileges in order to edit this file. Your system may prompt you for an administrator password. Enter this password if prompted. Linux systems do not display any characters when entering passwords in the CLI.
NOTE: On some systems you may see output that reads:sudo: unable to resolve host <hostname>
Ignore this message if seen.<br><br>
- You may use your preferred Linux editing tool, but in our example we will be using ‘gedit’.
Use gedit to open thestreampi.xml
file containing the settings for the exacqVision Server by entering:sudo gedit /usr/local/exacq/server/streampi.xml
<br><br> - Locate the line which states:
<Port value:"22609" />
Change the number to the port you want to use between the quotation marks (” “). Do NOT use port 22610 since this is reserved. The following example changes the port number to ‘11111’.
<br><br> - Click ‘Save’ to commit your changes and close the editor window. <br><br>
- Returning to the Terminal prompt, enter one of the following commands to restart the exacqVision Server:
sudo service edvrserver start
sudo /etc/init.d/edvrserver start
<br><br>
- In the exacqVision Client, make sure the port number on the ‘Add Systems’ page matches the new port number.
NOTE: The exacqVision Web Service is also a client of the exacqVision Server. Therefore, if using the exacqVision Web Service you may also be required to change the connecting port in the exacqVision Web Service Configuration.
<br>