How to Change Ports in Hiddify (Fix Telegram Connection Issues)
Hiddify's default port differs from Clash, causing connection issues for some apps. Learn how to change the port to 7890.
Why Change Ports?
Many users migrating from Clash to Hiddify find that Telegram or other development tools fail to connect.
This is because:
- Different Defaults: Clash uses port
7890by default, while Hiddify uses2334. - Legacy Settings: Apps like Telegram often have manual proxy settings fixed to
127.0.0.1:7890.
When you switch to Hiddify, the listening port changes, but your apps are still trying to connect to the old port 7890.
Step-by-Step Guide
The easiest solution is to change Hiddify’s port to 7890.
Open Settings
Go to Settings in Hiddify
Change Port
Set Mixed Port to 7890
Reconnect
Reconnect to apply changes
Detailed Instructions
Go to Settings Open Hiddify and click on the Settings button.
Find Port Settings Look for Inbound or Network settings. Find the Mixed Port option.
Change the Value Change the default
2334to7890.Port Conflict Warning: If you still have Clash installed and running, setting Hiddify to 7890 will cause a port conflict, and neither will work.
Please ensure Clash is completely closed before making this change!
Save and Reconnect Return to the main screen and click the large connection button to Reconnect.
Verify the Fix
Open Telegram:
- Go to Settings -> Data and Storage -> Proxy.
- Ensure the proxy is set to
127.0.0.1and port7890. - If the status changes to “Connected”, you are all set!
Other Solutions
Besides changing the port, you can also:
- Update App Settings: Change the proxy port in Telegram to Hiddify’s default
2334. - Use TUN Mode: Enable TUN Mode in Hiddify settings. This routes all system traffic through Hiddify, often allowing Telegram to work without manual proxy settings.