XAMPP and ADSL

Problems with the Windows version of XAMPP, questions, comments, and anything related.

XAMPP and ADSL

Postby serfran » 07. August 2010 11:29

Hello,

I mounted an XAMPP server and am trying to access the external ADSL and I can not.

As I think ADSL blocks access on port 80, reconfigure Apache to listen on port 8080 and Tomcat, because I use jsp to port 8081. Redirections of my Linksys router so that all HTTP requests on port 80 and 8080, redirect to the internal server, where is XAMPP. I created a field for NO-IP and configured correctly. Drop in NO-IP domain and he responds with the address of the ADSL that is allocated for my connection.

Everything works and when I do internal access: http://localhost:8080 and http://localhost:8081 enter the Xampp and enter the Tom Cat.

Nothing works when I access and external.

Sorry my english. I'm from Brazil!

Thanks for any help!
serfran
 
Posts: 5
Joined: 07. August 2010 11:24

Re: XAMPP and ADSL

Postby JonB » 07. August 2010 15:01

Well, are you sure your ISP blocks port 80? - send then an e-mail or look in their FAQ.

Assuming you are right - and you need to work with 8080/8081 --

Did you change the ServerName in apache\conf\httpd.conf to match whatever internet address (URL) you want your server to respond on?

and

its pretty likely you missed a step in your router re-configuration OR your router has remote administration enabled on Port 80.

You do have your 'server' either with a reserved MAC address or a Fixed local IP, correct?

Good Luck.
:shock:
User avatar
JonB
AF Moderator
 
Posts: 3210
Joined: 12. April 2010 16:41
Location: Land of the Blazing Sun
Operating System: Windows XP/7 - Fedora 15 1.7.7

Re: XAMPP and ADSL

Postby serfran » 08. August 2010 00:30

Hello,

I'll check what you wrote to me, but the httpd.conf file looks like this:
ServerName localhost: 80
Is that right?

Thank's
serfran
 
Posts: 5
Joined: 07. August 2010 11:24

Re: XAMPP and ADSL

Postby JonB » 08. August 2010 01:21

No. localhost will ONLY work on the same machine XAMPP is installed on. It means look in the hosts file (in this machine), and use the loopback address of 127.0.0.1 (which is universal to all machines).

It (ServerName) will have to be either a Domain Name/Host that will be resolvable using DNS, or the EXTERNAL IP address of the router that is forwarding port 80.

If you have a Listen 80 line in the httpd.conf, you don't have to include the port number.

so it could be

Code: Select all
ServerName www.mylittledomain.tld
or
ServerName 209.217.89.34


:mrgreen:
User avatar
JonB
AF Moderator
 
Posts: 3210
Joined: 12. April 2010 16:41
Location: Land of the Blazing Sun
Operating System: Windows XP/7 - Fedora 15 1.7.7

Re: XAMPP and ADSL

Postby serfran » 08. August 2010 12:02

Hello,

I've done everything and does not work!

My Linksys router WRTP52 is with the following redirects:

Port Range
Application Start End Protocol IP Address Enable
http 80 81 TCP 10.1.0. 10 yes
http 3389 3390 TCP 10.1.0. 10 yes
http 8080 8081 TCP 10.1.0. 10 yes
http 8081 8082 TCP 10.1.0. 10 yes

The main configurations of "httpd.conf" are:
..............................
#Listen 0.0.0.0:80
#Listen [::]:80
#Listen 80
Listen 8080
................................
# ServerName gives the name and port that the server uses to identify itself.
# This can often be determined automatically, but we recommend you specify
# it explicitly to prevent problems during startup.
#
# If your host doesn't have a registered DNS name, enter its IP address here.
#
# ServerName localhost:80
# mydomain in no-ip
ServerName mydomain.servehttp.com:8081
#
# DocumentRoot: The directory out of which you will serve your
# documents. By default, all requests are taken from this directory, but
# symbolic links and aliases may be used to point to other locations.
#
DocumentRoot "E:/xampp/htdocs"
...................................................................

And in No-IP Duc stating that everything is okay!

Thank's
serfran
 
Posts: 5
Joined: 07. August 2010 11:24

Re: XAMPP and ADSL

Postby JonB » 08. August 2010 16:07

A. - HTTP works in a single port, the same port is used to recieve and send, so I have no idea why you have port ranges in your router configuration. Nor do I have any idea why you have three different port sets for http.

B. - I think you should make the port number the same for these two lines.

Listen 8080

ServerName mydomain.servehttp.com:8081

C. - You should test usiing the external numeric IP first - that eliminates errors in your configuration of dynamic DNS services.

Pick one port, use the numeric IP and make that work first.

Good Luck
:shock:

USF
User avatar
JonB
AF Moderator
 
Posts: 3210
Joined: 12. April 2010 16:41
Location: Land of the Blazing Sun
Operating System: Windows XP/7 - Fedora 15 1.7.7

Re: XAMPP and ADSL

Postby serfran » 08. August 2010 21:46

I changed the settings:

Port Range Forwarding:
Application Start End Protocol IP Address Enable
http 8080 8080 TCP 10.1.0.10 yes

httpd.conf:
# Listen 80
Listen 8080
... ... ... ... ... ... ....
ServerName 187.14.51.243
...........................
The IP 187.14.51.243 I saw in IP DUC 3.0 as the external ip


When access http://187.14.51.243:8080 nothing happens!

When access "http://187.14.51.243" he accesses the login screen for the administration of Linksys router!

Still have error?
serfran
 
Posts: 5
Joined: 07. August 2010 11:24

Re: XAMPP and ADSL

Postby JonB » 09. August 2010 03:22

OK

You made progress

When access "http://187.14.51.243" he accesses the login screen for the administration of Linksys router!


If 'he' didn't use a port # in the address, that means the Router was using port 80 for Remote Administration. The router has 'remote administration' (or a term like that) enabled. This may not be a problem. You could probably turn it off in the router configuration.

At that point you could try it all on Port 80 and see if it works.

Good Luck
8)
User avatar
JonB
AF Moderator
 
Posts: 3210
Joined: 12. April 2010 16:41
Location: Land of the Blazing Sun
Operating System: Windows XP/7 - Fedora 15 1.7.7

Re: XAMPP and ADSL

Postby serfran » 09. August 2010 10:20

The router has the possibility of remote administration, but it is disabled!

Web: Enabled Disabled
serfran
 
Posts: 5
Joined: 07. August 2010 11:24

Re: XAMPP and ADSL

Postby JonB » 09. August 2010 19:21

LOL - at this point, it is past my ability to guess what is wrong, other than I think it's router related.
Did you look on LInksys' boards or FAQ to see if this is a problem they know of?
See if the router has "NAT Loopback" if it doesn't, you may not be able to view your website on your own network using its external IP address. (anyone off your LAN WILL still be able to view - just not Local addresses)

My personal solution to things like this - Routers are inexpensive, perhaps try a different one (maybe a friend migbht have one?).

Good Luck
:)
User avatar
JonB
AF Moderator
 
Posts: 3210
Joined: 12. April 2010 16:41
Location: Land of the Blazing Sun
Operating System: Windows XP/7 - Fedora 15 1.7.7

Re: XAMPP and ADSL

Postby JonB » 13. August 2010 05:11

OK - Thanks

I looked at the the Router you sent me the information for and its configuration.

Here's the problem - its two-fold.

The router (it isn't really a router, although many might call it one) you gave me access to is the ISP "DSL bridge modem". It can't do what you require. Its function is to facilitate moving your IP traffic onto a DSLAM. (its a bridge between two networks, yours and the ISP's) The ISP then forwards your traffic to their upstream partners (on the backbone) and onto the "internet".

http://en.wikipedia.org/wiki/Digital_Su ... ultiplexer

There needs to be an NAT 'pure IP router' sitting on a WAN IP "behind" this device and "before" your network switch. You give that 'inside' router one of the IP's assigned to you, and set up the port forwarding on it.

Trust me, LOL - I have a lot of equipment set up in just this manner.

I'm going to echo this reply to the thread, so others will maybe find a solution later.

Jon B.
User avatar
JonB
AF Moderator
 
Posts: 3210
Joined: 12. April 2010 16:41
Location: Land of the Blazing Sun
Operating System: Windows XP/7 - Fedora 15 1.7.7

Re: XAMPP and ADSL

Postby JonB » 13. August 2010 12:26

You asked if this device to be re-tasked for the IP port routing before your dedicated link is installed -- No - this is not what this device is intended for.

This is too complicated for me to explain to you at this point. You should discuss this with those who are providing the 'dedicated' link. You may or may not need another device, that will depend on how the network is configured and who is 'on it'.

If the 'other end' is another part of your organization, then you may not need another device. If the other end is an ISP organization or DSL aggregator - then you will likely need a second IP router.

The IP you gave me is the external address for the gateway device (which is an ADSL bridge modem in this case) - that IP only works with the pieces (equipment/software) at the other end of the circuit. When the circuit is installed, you will be assigned an IP range, the gateway IP and the subnet mask.

You are sitting at the end of a circuit that probably is awating configuration.

I'm a network engineer, but this is simply too complex, and I am missing too many parts. It has nothing at all to do with XAMMP. Its also not the type of work I perform for free, I make a living doing network engineering LOL. :!:

At this point - I have given you a complete description of the situation, you need to talk to the other parties involved.

Good luck

8)
User avatar
JonB
AF Moderator
 
Posts: 3210
Joined: 12. April 2010 16:41
Location: Land of the Blazing Sun
Operating System: Windows XP/7 - Fedora 15 1.7.7


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 48 guests