How To Change The Emulation Port

Sometimes we might want to run the emulation in a different port, in this guide we will learn how to do this in two different ways.

Option 1: edit the pom.xml

  1. Navigate to the pom.xml.

     

  2. Find the <arguments> tag inside the <configuration> tag.

  3. Add an <argument> tag with the port definition.
    <argument>org.openlegacy.port=9999</argument>

 

 

Option 2: edit the .run-emulation.launch file.

  1. Navigate to .run-emulation.launch.

     

  2. Under <listAttribute> tag add a <listEntry> tag with the the port value.
    <listEntry value="org.openlegacy.port=9999"/>

     

 

At the end of the prosses (for each one of the options) the emulation will run in the new port.