# 5. ChainIDE - 端口转发

{% embed url="<https://www.youtube.com/watch?t=92s&v=zsPEMBDUrGE>" %}

## 1. 运行 Sandbox

当你需要访问 sandbox 中的一个端口时

<figure><img src="/files/AzPxiblhsrHatHiUlhFD" alt=""><figcaption></figcaption></figure>

## 2. 打开 Port Manager

点击左侧的 Port Manager

<figure><img src="/files/jFDH2BywbvtpGI89w73E" alt=""><figcaption></figcaption></figure>

点击 Add Port

<figure><img src="/files/d0TwgZKEWb86la4URstz" alt=""><figcaption></figcaption></figure>

选择相关选项，并点击 Add

<figure><img src="/files/hRQN5xDwQUelmbiBlRxM" alt="" width="229"><figcaption></figcaption></figure>

## 3. 访问转发后的端口

点击跳转键即可访问对应端口

<figure><img src="/files/qOpb8CTq2QbRfytebZby" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/21cTt14YTNmJtitpRuUB" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://chainide.gitbook.io/chainide-chinese/5.-port-forwarding.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
