# Telegram如何设置代理

[**迅虎网络加速器官方网站**](https://vip.hostshop.cc/)

## Telegram设置代理问题

使用非全局模式时，Telegram不能联网

1. Telegram分为 Mac Windows Android IOS 四个版本 每个版本都可设置代理
2. 但不是所有版本都需要设置，请根据实际情况。

**请先确定自己成功科学联网。这里以MAC为例，其余客户端均类似。**

我使用的是 ClashX (每个软件的本地代理端口都不一致，代理端口请查看软件设置)

![](/files/t6jIQACUM4d2C2mhTBPS)

这里显示了 HTTP代理端口为7890 以及 Socks5代理端口为7891，不同软件的端口会不一样。

打开Telegram -> 「Date and Storage」 -> 「Use Proxy」

把 「Proxy」「Use for Calls」 打开，并点击 「Add Proxy」

![](/files/zQ2OqiUSvvyg42hBAANk)

选择 Socks5 （不同客户端显示不一样，但是Socks5或Socks每个客户端都会有）

![](/files/A0BDz0aURamjJcNdjyuB)

由于ClashX显示的SOCKS5的端口是 7891，那代理端口就是 7891，本地地址是127.0.0.1

![](/files/jsSKyN1pVxZxjmYBgEvM)

选择代理即可完成![](/files/YmXNk8WLUCLgRLPvPP3f)


---

# 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://help.hostshop.cc/chang-jian-ruan-jian-she-zhi/telegram-ru-he-she-zhi-dai-li.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.
