SMSC GSM Phone or Modem

SMSC GSM Phone or Modem SearchSearch
Author Message
Huwad Dawuh
New member
Username: Huwad

Post Number: 1
Registered: 11-2011
Posted on Friday, November 25, 2011 - 02:27 pm:   

I have tried nowsms and its working when Im using it on my own computer using 127.0.0.1:8800 when it comes to my site it always timeout I replace 127.0.0.1 with my Computer's IP I use GSM Modem, Im thinking of my Computer's IP is not available on web? isnt it? thats why its only working on localhost? with my own computer? how to work it with my site using GSM modem?
Huwad Dawuh
New member
Username: Huwad

Post Number: 2
Registered: 11-2011
Posted on Friday, November 25, 2011 - 02:33 pm:   

Ive got this in error logs

PHP Warning: fsockopen() [function.fsockopen]: unable to connect to 10.112.68.68:9501 (Connection timed out) in /home/user/public_html/sms/auth_sms.php on line 11
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 3618
Registered: 08-2008
Posted on Saturday, November 26, 2011 - 02:33 pm:   

Hi,

If you have an IP address that starts with a 10 in the first digit, that is a private IP address. It connects out to the Internet via a NAT (network address translation) router. It cannot accept inbound connections unless the NAT router is configured to forward one or more ports back to the private IP address.

Here is some information that I have posted previously which offers some additional detail:

There are three issues that come into play when it comes to accepting inbound connections from the internet.

1.) Firewall. The NowSMS install automatically adds exceptions for its ports to the Windows firewall, but if you are using other firewall software, it may be necessary to unblock these ports for inbound traffic.

2.) Are you behind a NAT (network address translation) router? This is a device that allows multiple computers to share an internet connection. If so, then you must configure "port forwarding" in the router to forward inbound requests on the desired port to the PC that is running NowSMS. In most scenarios this will also require that you allocated a dedicated IP address on your internal network to the NowSMS machine, so that it does not change over time. This can be done either in the Windows TCP/IP configuration, or using "DHCP reservation" in your router.

(The terms I put in quotes above are good ones to Google for more information on the underlying concepts, as well as for information specific to the router that you are using.)

Note: If you are behind a NAT router, you'll usually see your IP address showing up as a 192.168.* or 10.* address, as those are private non-routable IP address ranges that are reserved for internal networks.

3.) Do you have a dedicated internet IP address for your PC and/or router? If you don't, then your external internet IP address may change each time your router is restarted, or other components of your ISP's network are restarted. You can either acquire a "dedicated IP address" from your ISP, or you can use a "Dynamic DNS service" to define a fixed host name that follows your system if its IP address changes. (dyndns.org and no-ip.com are good dynamic DNS services.)


--
Des
NowSMS Support
Huwad Dawuh
New member
Username: Huwad

Post Number: 3
Registered: 11-2011
Posted on Saturday, November 26, 2011 - 09:14 pm:   

Thank you Des,

This one helps a lot ^_^ have a nice day