We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8568a6c commit 1543970Copy full SHA for 1543970
opt/mtproto-proxy/mtproxyd
@@ -35,7 +35,7 @@ $protocol = getprotobyname('tcp');
35
$protocol = $protocol === false ? 0 : $protocol;
36
for ($i=0; !$clean && $i<10; $i++) {
37
try {
38
- $handler = new \danog\MadelineProto\Server(['type' => AF_INET, 'protocol' => $protocol, 'address' => '54.38.53.171', 'port' => $argv[2], 'handler' => '\danog\MadelineProto\Server\Proxy', 'extra' => ['madeline' => $MadelineProto->API->datacenter->sockets, 'secret' => hex2bin($secret), 'timeout' => 15]]);
+ $handler = new \danog\MadelineProto\Server(['type' => AF_INET, 'protocol' => $protocol, 'address' => '0.0.0.0', 'port' => $argv[2], 'handler' => '\danog\MadelineProto\Server\Proxy', 'extra' => ['madeline' => $MadelineProto->API->datacenter->sockets, 'secret' => hex2bin($secret), 'timeout' => 15]]);
39
$handler->start();
40
$clean = true;
41
}
0 commit comments