Skip to content

Commit 8563e36

Browse files
ranbelDevinCarr
andauthored
Apply suggestions from code review
Co-authored-by: Devin <[email protected]>
1 parent 7463acc commit 8563e36

File tree

1 file changed

+4
-4
lines changed
  • src/content/docs/cloudflare-one/connections/connect-networks/troubleshoot-tunnels

1 file changed

+4
-4
lines changed

src/content/docs/cloudflare-one/connections/connect-networks/troubleshoot-tunnels/diag-logs.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,13 +50,13 @@ This command will output the status of each diagnostic task and place a `cloudfl
5050

5151
1. Determine the [metrics server port](/cloudflare-one/connections/connect-networks/monitor-tunnels/metrics/#default-metrics-server-address) for the `cloudflared` instance running in Docker.
5252

53-
2. Re-deploy the container with port forwarding enabled. The diagnostic feature will request information from the Docker instance using local port `20241`, therefore you should forward port `20241` to the container port obtained in Step 1:
53+
2. Ensure the container is deployed with port forwarding enabled. The diagnostic feature will request information from the Docker instance using local port `20241`, therefore you should forward port `20241` to the container port obtained in Step 1:
5454

5555
```sh
5656
docker run -d -p 20241:<metrics_port> docker.io/cloudflare/cloudflared tunnel ...
5757
```
5858

59-
3. Verify that you can reach the metrics server address:
59+
3. Verify that you can reach the metrics server address from the Docker host environment:
6060

6161
```curl
6262
curl localhost:20241/diag/tunnel
@@ -109,9 +109,9 @@ The diagnostic feature will request data from the [tunnel metrics server](/cloud
109109
For example, if you set the metrics server address to `0.0.0.0:12345`:
110110

111111
```sh
112-
kubectl port-forward http-echo-6d4897585b-r8kfz 20244:12345
112+
kubectl port-forward cloudflared-6d4897585b-r8kfz 20244:12345
113113
```
114-
Connections made to local port `20244` are forwarded to port `1234` of the pod that is running the tunnel.
114+
Connections made to local port `20244` are forwarded to port `12345` of the pod that is running the tunnel.
115115

116116
3. Run the diagnostic:
117117

0 commit comments

Comments
 (0)