Displaying Web UI and Accessing Ports

Katacoda allows ports running include the environment to be made available to users. This is designed for displaying dashboards and UI elements running inside a container.

Within the markdown for a step, use a URL shown below that will be updated when the environment is connected.

Markdown Example

Render port 8500: https://[[HOST_SUBDOMAIN]]-8500-[[KATACODA_HOST]].environments.katacoda.com/

Render port 80: https://[[HOST_SUBDOMAIN]]-80-[[KATACODA_HOST]].environments.katacoda.com/

Display page allowing user to select port:

Display Dashboard Tabs

"environment": {
  "showdashboard": true,
  "dashboards": [{"name": "Display 80", "port": 80}, {"name": "Display 8080", "port": 8080}],

This style has been deprecated.
"environment": {
    "showdashboard": true,
    "dashboard": "Dashboard"
"backend": {
  "port": 80
Additional Information

Understanding Katacoda's index.json