port-forward

Display local port mappings for Kurtosis services to diagnose connectivity issues.

547|97|Updated Feb 14, 2023
One-click install
npx skills add https://github.com/kurtosis-tech/kurtosis --skill port-forward
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: port-forward
Source: https://github.com/kurtosis-tech/kurtosis/tree/main/skills/port-forward
Command: npx skills add https://github.com/kurtosis-tech/kurtosis --skill port-forward

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

View and manage port mappings for Kurtosis services. Check which local ports map to service ports and troubleshoot connectivity. Use when services aren't reachable or you need to find the right port.

Core Features & Use Cases

  • View port mappings: quickly see which local port maps to a service port.
  • Port troubleshooting: diagnose connectivity by inspecting mappings and endpoints.
  • Use Case: when a service is not reachable, identify the correct port for access.

Quick Start

Run kurtosis port print <enclave-name> <service-name> <port-id> to view the local port mapping for a service.

Frequently Asked Questions about port-forward

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I find the local port mapping for a Kurtosis service?

To find local port mappings for Kurtosis services, run `kurtosis port print <enclave-name> <service-name> <port-id>`. This command displays which local port maps to each service port, allowing you to access the service directly.

Why is my Kurtosis service not reachable on the assigned port?

If a Kurtosis service is not reachable, you can diagnose connectivity by inspecting port mappings and endpoints. This helps identify the correct local port assigned to the service port for successful access.

Do I need an active Kurtosis enclave to check port mappings?

Yes, checking port mappings requires the Kurtosis CLI with an active engine and at least one running enclave. The mapping validation depends on querying the current enclave state.

How do I troubleshoot connectivity when multiple ports exist for a Kurtosis service?

To troubleshoot connectivity when multiple ports exist, view the port mappings to identify which specific local port maps to each service port. This clarifies the correct endpoint to use for access.

What is the best way to view port mappings for services inside an enclave?

The best way to view port mappings for services inside an enclave is using the Kurtosis CLI. It finds and displays local port assignments, validating them against the active enclave state to diagnose connectivity.