Author |
|
irshad
Joined: 03 Oct 2010 Posts: 9
|
Posted: Sun 03 Oct '10 5:34 Post subject: the server at <my ip> is taking too long to respond |
|
|
Please help me i am frustrated right now.
i have a router with two laptops connected wirelessly and a desktop connected with wire.
i downloaded xampp and i set it up and every thing.
but when i visit my site throught the ip i get the error "the server at <my ip> is taking too long to respond"
but if i go to http://localhost it works.
i checked the port checker and it says port 80 is used by apache httpd.exe
and please help me i have been trying to fix this for weeks now and no luck.
by the way i am hosting with the connected wired desktop and it is windows xp. |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7371 Location: Germany, Next to Hamburg
|
Posted: Sun 03 Oct '10 16:10 Post subject: |
|
|
You tried your internet IP or your LAN IP ? |
|
Back to top |
|
irshad
Joined: 03 Oct 2010 Posts: 9
|
Posted: Sun 03 Oct '10 20:37 Post subject: |
|
|
I used my internet ip by going to whatismyip.com |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7371 Location: Germany, Next to Hamburg
|
Posted: Mon 04 Oct '10 1:44 Post subject: |
|
|
if you are using a router to the internet you have to use port forwarding. Else the router blocks incoming requests |
|
Back to top |
|
irshad
Joined: 03 Oct 2010 Posts: 9
|
Posted: Mon 04 Oct '10 3:45 Post subject: |
|
|
i forwarded port 80 now it says 500-internal server error! |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7371 Location: Germany, Next to Hamburg
|
Posted: Mon 04 Oct '10 16:09 Post subject: |
|
|
You have that error on your local IP as well or only from the external IP?
Do did you configure the portforwarding? Does the portforwarding point to the internal IP from the pc where apache is running? Errors about that 500 in your error log from apache? |
|
Back to top |
|
irshad
Joined: 03 Oct 2010 Posts: 9
|
Posted: Tue 05 Oct '10 2:38 Post subject: |
|
|
yea i am using the external ip and yes the port is forwarded correctly.
and i dont know where the error log is though. |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7371 Location: Germany, Next to Hamburg
|
Posted: Tue 05 Oct '10 14:01 Post subject: |
|
|
Did you install the apache from apache.org or somewhere else? |
|
Back to top |
|
irshad
Joined: 03 Oct 2010 Posts: 9
|
Posted: Tue 05 Oct '10 21:58 Post subject: |
|
|
i used xampp and it had the same problem and now i am using apache from apache.org and still the same problem. |
|
Back to top |
|
irshad
Joined: 03 Oct 2010 Posts: 9
|
Posted: Wed 06 Oct '10 2:15 Post subject: |
|
|
OH WTF i seriously dont know what is going on. again it is going back to he same error before. the timeout error i mean. |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7371 Location: Germany, Next to Hamburg
|
Posted: Wed 06 Oct '10 11:14 Post subject: |
|
|
in xampp the error log in in
C:/xampp/logs/ or C:/xampp/apache/logs/
from apache.org you can find the error log in
C:/Program Files/Apache Group/apache/logs
or
C:/Program Files/Apache Group/apache2.2/logs |
|
Back to top |
|
irshad
Joined: 03 Oct 2010 Posts: 9
|
Posted: Sat 09 Oct '10 23:14 Post subject: |
|
|
I think i know what the problem is. all my computers have the same ip. so when i type my external ip it goes to my other computer instead of the one that it is supposed to. can you please help me with that? |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7371 Location: Germany, Next to Hamburg
|
Posted: Sun 10 Oct '10 19:04 Post subject: |
|
|
Since there is nothing about a 500 error in your error log I think you have an issue with your router. |
|
Back to top |
|
irshad
Joined: 03 Oct 2010 Posts: 9
|
Posted: Sun 10 Oct '10 19:16 Post subject: |
|
|
Do you have any thing in your mind that you thing could be wrong with the router? |
|
Back to top |
|
glsmith Moderator
Joined: 16 Oct 2007 Posts: 2268 Location: Sun Diego, USA
|
Posted: Sun 10 Oct '10 20:19 Post subject: |
|
|
Put your server on a static LAN IP outside the DHCP range if you have not already ... this will keep other computers from being asigned the IP you will then forward. I say this cause our your comment about all computers having same IP. That is not really correct except for 127.0.0.1, but on the LAN IP side, if your server is set to "Obtain IP Automatically" you're getting it from DHCP, IPs a doled out as computers are turned on without regard to exactly which computer. Static the server. |
|
Back to top |
|
irshad
Joined: 03 Oct 2010 Posts: 9
|
Posted: Thu 14 Oct '10 7:03 Post subject: |
|
|
its my external ip that is the same, so changing the normal ip wont do anything.
and by the way the 500 error is gone now it gives page not found error. |
|
Back to top |
|