Public access via http interface

Public access via http interface SearchSearch

SMS & MMS Technical Forum » NowSMS Support - SMS Issues (Product Support Only) » Archive through May 07, 2008 » Public access via http interface « Previous || Next »
Author Message
Marrakech
New member
Username: Walou

Post Number: 11
Registered: 11-2007
Posted on Wednesday, February 27, 2008 - 12:39 pm:   

Hey experts

I need to create public access to the interface of NowSms http. I configured the domain name how is pointing to my web server and the specified port 8080 at NowSms and my firewall. The problem is : http://mydomaine.name.com:8080 edge on my Apache server (port 80) and not on port 8080 as NowSms.

Info: I use a router SFR (french operator) at the level of what I set the ports 80et 8080.

An idea, help?

thanks alo of
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 7525
Registered: 10-2002
Posted on Wednesday, February 27, 2008 - 07:33 pm:   

I'm sorry, I don't understand your question.

It sounds like you have configured NowSMS to listen to port 8080 ("port number for web interface" setting on "web" page of NowSMS configuration dialog). But, when you connect from the outside world, an Apache server on that same machine is responding instead.

Check the "Event Log" button in NowSMS to see if it is reporting any error binding to port 8080. It may be that the Apache server is configured to listen to both port 80 and port 8080.

-bn

Marrakech
New member
Username: Walou

Post Number: 12
Registered: 11-2007
Posted on Wednesday, February 27, 2008 - 10:07 pm:   

Hi Bryce, thank you for response.

i checked the "Event Log" and it sames to be ok. Apache listens only to the port 80.

i also created a user account for a freind to test external http connection.(http://smpp.mobily-t.com:8080/)

the http respons is : ERROR: Connection not allowed from 82.227.225.134

Bellow my configuration parameters:

Firewall (NAT and ports translation):
8080 (external) --> 192.168.1.22 with port 8080
80 (external) --> 192.168.1.22 with port 80

windows hosts file :
192.168.1.22 smpp.xxxx.com

Apache:
Listen 80
<VirtualHost *:80>
ServerName smpp.xxxx.com
DocumentRoot "d:/wamp/www/"
ServerAdmin xxx@xxxx.com
ErrorLog logs/Smpp_error_log
<Directory />
Options FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
</Directory>
</VirtualHost>

may be i didn't correctly parameterized access via the web intreface in NowSms.

Bryce, sorry for my bade english !
Marrakech
New member
Username: Walou

Post Number: 13
Registered: 11-2007
Posted on Thursday, February 28, 2008 - 07:54 pm:   

Hi Bryce,

i fixed the problem !

thanks
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 7540
Registered: 10-2002
Posted on Friday, February 29, 2008 - 02:05 pm:   

Glad to hear you were able to sort the problem.

The response "ERROR: Connection not allowed from 82.227.225.134" is a good clue. This means that the server is not allowing the connection because the IP address is not in the "Allowed" range (as defined on the "Web" tab of the NowSMS configuration dialog).

-bn

Login Login / Register Logout Logout Search Last 30 Days Topics Topics