Skip to content

ngrok web interface

The ngrok web interface is a local dashboard provided by the ngrok agent, designed to help developers inspect and debug network traffic running through the tunnel.^[400-devops-02-os-and-linux-basics-network-ngrok.md]

Interface Location

When an active tunnel session is running, the web interface is accessible via a specific URL displayed in the terminal output. By default, this is hosted at http://127.0.0.1:4040.^[400-devops-02-os-and-linux-basics-network-ngrok.md]

Functionality

The interface provides real-time data regarding the active tunnel session. The primary features include:

  • Inspection: Users can review the details of HTTP requests being forwarded to the local server.^[400-devops-02-os-and-linux-basics-network-ngrok.md]
  • Replay: The interface allows users to replay requests directly from the dashboard, which is useful for testing endpoints without needing to trigger the original source event.^[400-devops-02-os-and-linux-basics-network-ngrok.md]
  • Modification: Users can modify requests before replaying them, facilitating debugging of different payloads or headers.^[400-devops-02-os-and-linux-basics-network-ngrok.md]

Session Information

The terminal output and the interface provide a summary of the connection status. This includes the account plan (e.g., Free), the ngrok version, the selected region (e.g., Japan), and forwarding rules (mapping the public ngrok URL to the local port).^[400-devops-02-os-and-linux-basics-network-ngrok.md]

Sources

^[400-devops-02-os-and-linux-basics-network-ngrok.md]