<aside> 💡 Read time: 4 minutes

</aside>

Q Blocks instances offer support for running web services with public access. This is enabled through port forwarding.

A web service can be forwarded at an open port of the Q Blocks instance and then accessed publicly.

<aside> 🔐 Due to security reasons, all ports are not open. Only some random ports can be opened.

</aside>

The pre-configured open ports of your instance can be viewed as follows:

  1. Go to your Active Instances Page.
  2. Click on the dropdown icon on your instance row to view instance info.
  3. Extra Ports section displays the open port as seen below:

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/8f9481cb-0a00-41f5-bc60-1c623380ef75/Copy_extra_port_and_host_url.png

<aside> 🗒️ Copy the Extra port and Host values

</aside>

Example of a web service:

As an example, let us run Tensorboard web service in our instance. Tensorboard is a Machine learning experiment tracking software that can be launched as a web service and then accessed in your browser.

Run the following commands in your instance’s terminal: