> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://helpdesk.ggcircuit.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# 🧠 如何使用命令提示符查找 ggRock 服务器地址

本文介绍了如何使用内置的 `ipconfig /all` 命令快速定位 **ggRock 服务器 IP 地址**。默认网关通常是您的路由器的 IP 地址，它对于外部网络通信和排查连接性问题是必需的。ggRock 服务器 IP 将是默认网关中的辅助列表。

---

## 🛠️ 逐步说明

### 1. 打开命令提示符

1. 在键盘上按 `Windows + R` 打开**运行**对话框。
2. 输入 `cmd` 并按 `Enter` 启动**命令提示符**。

![](https://ggcircuit.atlassian.net/wiki/download/attachments/15863595/image-20250724-140908.png?version=1&modificationDate=1753366150858&cacheVersion=1&api=v2)

---

### 2. 运行 `ipconfig /all` 命令

在命令提示符窗口中，输入以下命令并按 `Enter`：

```
ipconfig /all
```
![](https://ggcircuit.atlassian.net/wiki/download/attachments/15863595/image-20250724-141008.png?version=1&modificationDate=1753366210852&cacheVersion=1&api=v2)

---

### 3. 定位第二个默认网关

1. 滚动浏览输出以查找您的**活跃网络适配器**（通常名称类似于"以太网适配器"）。
2. 在该部分下查找标记为**默认网关**的行。

> 💡 如果您的系统同时连接了以太网和 Wi-Fi，请确保您检查的是以太网适配器（具有有效 IP 地址和子网掩码的适配器）。

3. 定位**第二个**默认网关地址，这通常是您的 ggRock 服务器。

---

## ✅ 示例输出

```powershell
Ethernet adapter Ethernet:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Intel(R) Ethernet Connection
Physical Address. . . . . . . . . : AA-BB-CC-DD-EE-FF
DHCP Enabled. . . . . . . . . . . : Yes
IPv4 Address. . . . . . . . . . . : 192.168.1.100
Subnet Mask . . . . . . . . . . . : 255.255.255.0
**Default Gateway . . . . . . . . . : 192.168.1.1
. . . . . . . . . : **192.168.1.10**