glushkovds / php-smpp

WIP. Implementation SMPP v3.4 protocol. Includes sending and listening USSD.
MIT License
18 stars 11 forks source link

Could not connect to any of the specified hosts #13

Open BechirAhmed opened 2 years ago

BechirAhmed commented 2 years ago

Could anyone help us with this error, i use the same example in readme, and i've specified the IP and port just like this format 000.000.00.00:1000, and used my login & password but it always return this error.

$service = new \PhpSmpp\Service\Sender(['123.456.78.9:1000'], 'login', 'pass', 'transceiver');
$smsId = $service->sendUSSD(79001001010, 'Hello world!', 'Sender', []);