diff --git a/pyrogram/connection/connection.py b/pyrogram/connection/connection.py index aa958a7a..d912da74 100644 --- a/pyrogram/connection/connection.py +++ b/pyrogram/connection/connection.py @@ -33,7 +33,7 @@ class Connection: } def __init__(self, ipv4: str, proxy: type, mode: int = 1): - self.address = (ipv4, 80) + self.address = (ipv4, 443) self.proxy = proxy self.mode = self.MODES.get(mode, TCPAbridged) self.lock = threading.Lock()