Skip to content
SHC Docs

Forward module

Source: modules/forward/.

CLIshc forward
Subcommands0
HTTP endpointssee the route reference
Events emitted
Error codessee the error code reference
Service classesForwardService
Cross-module depsapp, node
modules/forward/
├── command.go
├── parser.go
├── service.go
├── types.go
└── commands/
  • shc forward — forward local ports to stack_name services

The forward module implements shc forward — an SSH-style port-forward that tunnels a local port through the SHC daemon to a specific service inside a running stack, on the node that owns the stack. It is the operator’s equivalent of kubectl port-forward and is used for debugging and one-off access to services that aren’t exposed through ingress.

ForwardService handles the bidirectional relay. There is no persistent state and no HTTP endpoint; the transport is internal.