Documentation

Configure Port Mapping

Port Mappings

Port mapping lets you access simulator data on various ports outside. KOS studio allows users to specify their ports per protocol via port mappings. You can find out more about port mapping here.

port mapping
Figure 1. Configure Port Mappings

Access and view the port mappings for an image

  1. Log in to KOS Studio, and from My Images, click on Open Image Manager (in the upper right corner of the screen)

  2. From the list of images, select the image you want to update and click on Settings main settings for that image(on right hand side for image row)

  3. Select the Configure tab from the top menu on the image configuration window.

  4. From the Image Configuration window that opens, select Hardware Settings >> Configure port mappings tab

Adding port mapping

  1. Log in to KOS Studio, and from My Images, click on Open Image Manager (in the upper right corner of the screen)

  2. From the list of images, select the image you want to update and click on Settings main settings for that image(on right hand side for image row)

  3. Select the Configure tab from the top menu on the image configuration window.

  4. From the Image Configuration window that opens, select Hardware Settings > Configure port mappings tab

  5. Select the protocol you want to add port mappings for from the displayed list. Provide the internal simulator port, team mapping, and local override for the newly added port. Consider following :

    1. Use ports higher than 1024 as port forwarding, where port numbers smaller than 1024 can only be created by software running as the root user.

    2. If you have a Local Override Specified, it will take precedence over the Team Port. If no Local Override is provided, Team Port will be used.

    3. KOS studio will always show an indicator active port next to the active port mapping.

    4. For child images, inherited port mapping is indicated via grayed out text, which can be updated to a different value if needed.

inherited port
Figure 2. Inherited port mapping

Adding a custom port and port mapping

  1. Log in to KOS Studio, and from My Images, click on Open Image Manager (in the upper right corner of the screen)

  2. From the list of images, select the image you want to update and click on Settings main settings for that image(on right hand side for image row)

  3. Select the configure tab from the top menu on the image configuration window.

  4. From the Image Configuration window that opens, select Hardware Settings >Configure port mappings tab

  5. Click the Add new port on the Configure port mapping tab. Here, provide the internal simulator port, team mapping, and local override for the newly added port. Consider following :

    1. Use ports higher than 1024 as port forwarding, where port numbers smaller than 1024 can only be created by software running as the root user.

    2. If you have a Local Override Specified, it will take precedence over the Team Port. If no Local Override is provided, Team Port will be used.

    3. KOS studio will always show an indicator active port next to the active port mapping.

Previous
Next
On this page
Java Development
Seamlessly transition from Legacy+ systems to Freestyle microdosing and advanced distributed dispense systems.
UI Development
Using KOS SDKs, integrating Consumer and Non-consumer facing UIs becomes seamless, giving you less hassle and more time to create.
Video Library
Meet some of our development team, as they lead you through the tools, features, and tips and tricks of various KOS tools.
Resources
Familiarize yourself with KOS terminology, our reference materials, and explore additional resources that complement your KOS journey.
Copyright © 2024 TCCC. All rights reserved.