connection to SMSC simulator on remote VPS

111 views
Skip to first unread message

Ulugbek Baymuradov

unread,
Nov 17, 2011, 1:07:03 AM11/17/11
to ruby-smpp
Hi Ray,

I am running the Logica SMPP simulator on my VPS, and the gateway on
my local machine. Simulator is accepting connections from the gateway
that if I put it on the same VPS, but not from my local machine, even
though I have changed the config[:host] accordingly. How can I test
that gateway can actually connects to remote SMSC?

Thanks!
Bek

Ray Krueger

unread,
Nov 17, 2011, 9:44:25 AM11/17/11
to ruby...@googlegroups.com
Can you be a bit more specific about what is running where? What's the gateway you mentioned here?

Ulugbek Baymuradov

unread,
Nov 17, 2011, 1:29:54 PM11/17/11
to ruby...@googlegroups.com
Gateway is just like the sample_gateway.rb running on local machine.
Simulator is running at the VPS.

Ray Krueger

unread,
Nov 17, 2011, 1:34:54 PM11/17/11
to ruby...@googlegroups.com
Most you can do is start troubleshooting my friend.
Look at the logs in the simulator and see if it gets a connection in.
Add some debug or puts statements to the gateway and see what it's doing.

That gateway sample is from the previous maintainer I've never used it or looked at it to be completely honest.


On Thursday, November 17, 2011 at 12:29 PM, Ulugbek Baymuradov wrote:

> Gateway is just like the sample_gateway.rb running on local machine.
> Simulator is running at the VPS.
>

Reply all
Reply to author
Forward
0 new messages