Use this command:

kubectlport-forwardsvc/temporal-web8080:8080

The first port is the localhost port, the second the service port.