> For the complete documentation index, see [llms.txt](https://r2northstar.gitbook.io/r2northstar-wiki/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://r2northstar.gitbook.io/r2northstar-wiki/chinese/using-northstar/direct-connect.md).

# 直连服务器

如果服务器设置为私人模式且未显示在服务器列表中，则可以通过以下方式从控制台直接连接到该服务器：

1. [打开控制台](/r2northstar-wiki/chinese/using-northstar/commands.md#opening-the-console).
2. 输入 `connect <服务器ip地址>:<服务器端口号>`. 默认端口号为 `37015`.

如果你使用的是原版的泰坦陨落二客户端 (只有服务器启用 `ns_auth_allow_insecure 1` ）时才会生效:

1. 打开Origin，在游戏库中点击Titanfall 2，然后点击设置的图标。
2. 点击 `游戏属性` ，然后点击 `进阶启动选项`.
3. 添加 `+bind "按键" "connect <服务器ip地址>:<端口号>"`
4. 打开游戏并选择单人剧情
5. 按下你在第三步中设置的 `按键`&#x20;
