Bluehost.com Web Hosting $6.95

my webserver cannot be seen from outside my network

This is a discussion on my webserver cannot be seen from outside my network within the Windows Web Servers forums, part of the Web Server and Related Forums category; I'm setting up a webserver for the first time so I'm not too familiar with it all. I'...


Go Back   Usenet Forums > Web Server and Related Forums > Windows Web Servers

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 06-26-2005
jsantos8
 
Posts: n/a
Default my webserver cannot be seen from outside my network

I'm setting up a webserver for the first time so I'm not too familiar
with it all.
I've gotten apache 2.0 up and running on my win xp pc.
the problem is computers outside my network cannot access my webpage.
i'm routing ports 80 and 8080 to the pc running apache and even made it
DMZ to see if that works but nothing. I also disabled the windows
Firewall.
I can see that when I send a request from my phone my windows network
monitor lights up (perhaps an indicator that the request was routed
properly) but I can't figure out why I can't see the pages outside my
net. (And I've tried with PC's outside my net and get 'Website not
responding' error.)

localhost -> works from inside my net

localhost:80 -> works from inside my net

www.rstaxpract.com (my yahoo domain name which is routed to my IP) ->
works from inside my net

Also note that if you try the domain you might think that you reached
my computer but that is yahoo's html being displayed when you try
67.83.6.179 my IP's address nothing will work.

Any help would be really appreciated. Thank you.

  #2 (permalink)  
Old 06-26-2005
Thor Kottelin
 
Posts: n/a
Default Re: my webserver cannot be seen from outside my network



jsantos8 wrote:

> www.rstaxpract.com (my yahoo domain name which is routed to my IP)


As a side note, that isn't really the case. Rather, Yahoo seems to use some
kind of frameset kludge.

www.rstaxpract.com. 600 IN CNAME
premium.geo.yahoo.akadns.net.
premium.geo.yahoo.akadns.net. 300 IN A 66.218.79.181
premium.geo.yahoo.akadns.net. 300 IN A 66.218.79.182
premium.geo.yahoo.akadns.net. 300 IN A 66.218.79.184
premium.geo.yahoo.akadns.net. 300 IN A 66.218.79.188
premium.geo.yahoo.akadns.net. 300 IN A 66.218.79.170
premium.geo.yahoo.akadns.net. 300 IN A 66.218.79.171
premium.geo.yahoo.akadns.net. 300 IN A 66.218.79.175
premium.geo.yahoo.akadns.net. 300 IN A 66.218.79.180

$ telnet www.rstaxpract.com 80
Trying 66.218.79.184...
Connected to www.rstaxpract.com.
Escape character is '^]'.
GET / HTTP/1.1
Host: www.rstaxpract.com

HTTP/1.1 200 OK
Date: Sun, 26 Jun 2005 09:56:19 GMT
P3P: policyref="http://p3p.yahoo.com/w3c/p3p.xml", CP="CAO DSP COR CUR ADM
DEV TAI PSA PSD IVAi IVDi CONi TELo OTPi OUR DELi SAMi OTRi UNRi PUBi IND
PHY ONL UNI PUR FIN COM NAV INT DEM CNT STA POL HEA PRE GOV"
Content-length: 266
Connection: close
Content-Type: text/html

<html><head><title>rstaxpract.com</title></head><frameset rows="*,45"
scrolling="yes" border="0"><frame src="http://67.83.6.179"><frame
src="http://webhosting.yahoo.com/forward.html" marginwidth="0"
marginheight="0" scrolling="no"
frameborder="0"></frameset></html>Connection closed by foreign host.

> when you try
> 67.83.6.179 my IP's address nothing will work.


Look for a firewall, router, or other packet filter between yourself and the
Internet.

Thor

--
http://www.anta.net/OH2GDF
  #3 (permalink)  
Old 06-26-2005
Terry Stockdale
 
Posts: n/a
Default Re: my webserver cannot be seen from outside my network

On 26 Jun 2005 01:33:52 -0700, "jsantos8" <jsantos8@optonline.net>
wrote:

>I'm setting up a webserver for the first time so I'm not too familiar
>with it all.
>I've gotten apache 2.0 up and running on my win xp pc.
>the problem is computers outside my network cannot access my webpage.
>i'm routing ports 80 and 8080 to the pc running apache and even made it
>DMZ to see if that works but nothing. I also disabled the windows
>Firewall.


You HAVE set these back, haven't you? Running DMS and no firewall is
not a good thing.

>I can see that when I send a request from my phone my windows network
>monitor lights up (perhaps an indicator that the request was routed
>properly) but I can't figure out why I can't see the pages outside my
>net. (And I've tried with PC's outside my net and get 'Website not
>responding' error.)
>
>localhost -> works from inside my net
>
>localhost:80 -> works from inside my net
>
>www.rstaxpract.com (my yahoo domain name which is routed to my IP) ->
>works from inside my net


Isn't it nice of Yahoo to add their ad at the bottom of the frame? If
you use Godaddy or any number of other domain name sellers for this,
you won't have that problem.

>
>Also note that if you try the domain you might think that you reached
>my computer but that is yahoo's html being displayed when you try
>67.83.6.179 my IP's address nothing will work.
>
>Any help would be really appreciated. Thank you.


Check the Listen parameter in the httpd.conf file. If you're running
virtual hosts, check the VirtualHost lines also.

Try Listen 80, not 80 at an IP address.

If you have Listen 67.83.6.179:80, then that WON'T work -- the request
is showing up with your local network IPaddress:80, e.g.
192.168.1.10:80

Is your cable ISP giving you a static IP address? If not, you might
want to use one of the dynamic DNS systems - some are paid and some
free.

Terry
My website: http://www.terrystockdale.com
My weekly newsletter: http://www.terryscomputertips.com


  #4 (permalink)  
Old 06-26-2005
jsantos8
 
Posts: n/a
Default Re: my webserver cannot be seen from outside my network

Thanks for the replies. And yes of course I disabled DMZ I just have
the port 80 forwarded to my PC. In my httpd.conf I've set the
following
Listen 80
ServerName www.rstaxpract.com
HostnameLookups On
Also I think it is a problem with my PC because like I said when I
access it from outside my net (like with my phone) by IP, I still see
the network icon (in the taskbar notification area) light up as if my
computer's communicating but then gives up and I get an error saying
'Website not responding' from my phone. So I think the ports are being
forwarded but something's preventing my PC from completing the request.

  #5 (permalink)  
Old 06-26-2005
jsantos8
 
Posts: n/a
Default Re: my webserver cannot be seen from outside my network

also, since turning hostnamelookups on
I see the following:
linksys - - [26/Jun/2005:16:36:40 -0400] "GET / HTTP/1.1" 200 3314
linksys - - [26/Jun/2005:16:36:40 -0400] "GET /css/firefox.css
HTTP/1.1" 304 -
linksys - - [26/Jun/2005:16:36:40 -0400] "GET /img/rstaxpract_com.gif
HTTP/1.1" 304 -
linksys - - [26/Jun/2005:16:36:40 -0400] "GET /img/apache_pb.gif
HTTP/1.1" 304 -
linksys - - [26/Jun/2005:16:36:40 -0400] "GET /img/efile.gif HTTP/1.1"
304 -
linksys - - [26/Jun/2005:16:36:40 -0400] "GET
/css/img/rstaxpract_com.png HTTP/1.1" 404 300
linksys - - [26/Jun/2005:16:36:42 -0400] "GET /favicon.ico HTTP/1.1"
404 285
linksys - - [26/Jun/2005:16:36:55 -0400] "GET /img/ul.gif HTTP/1.1" 200
338
linksys - - [26/Jun/2005:16:36:55 -0400] "GET /favicon.ico HTTP/1.1"
404 285
linksys - - [26/Jun/2005:16:39:22 -0400] "GET
/css/img/rstaxpract_com.png HTTP/1.1" 404 300
linksys - - [26/Jun/2005:16:39:22 -0400] "GET /favicon.ico HTTP/1.1"
404 285
linksys - - [26/Jun/2005:16:39:27 -0400] "GET /index.php?page=login
HTTP/1.1" 200 3828
linksys - - [26/Jun/2005:16:39:27 -0400] "GET
/css/img/rstaxpract_com.png HTTP/1.1" 404 300
linksys - - [26/Jun/2005:16:39:27 -0400] "GET /favicon.ico HTTP/1.1"
404 285
linksys - - [26/Jun/2005:16:39:28 -0400] "GET
/css/img/rstaxpract_com.png HTTP/1.1" 404 300
linksys - - [26/Jun/2005:16:39:28 -0400] "GET /index.php?page=main
HTTP/1.1" 200 3314
linksys - - [26/Jun/2005:16:39:29 -0400] "GET /favicon.ico HTTP/1.1"
404 285
linksys - - [26/Jun/2005:16:39:34 -0400] "GET / HTTP/1.1" 200 3314
linksys - - [26/Jun/2005:16:39:34 -0400] "GET
/css/img/rstaxpract_com.png HTTP/1.1" 404 300
linksys - - [26/Jun/2005:16:39:46 -0400] "GET /index.php?page=main
HTTP/1.1" 200 3314
linksys - - [26/Jun/2005:16:39:47 -0400] "GET
/css/img/rstaxpract_com.png HTTP/1.1" 404 300
linksys - - [26/Jun/2005:16:39:47 -0400] "GET
/css/img/rstaxpract_com.png HTTP/1.1" 404 300
linksys - - [26/Jun/2005:16:39:47 -0400] "GET /index.php?page=login
HTTP/1.1" 200 3828
linksys - - [26/Jun/2005:16:39:48 -0400] "GET /index.php?page=products
HTTP/1.1" 200 3436
linksys - - [26/Jun/2005:16:39:48 -0400] "GET
/css/img/rstaxpract_com.png HTTP/1.1" 404 300
linksys - - [26/Jun/2005:16:39:48 -0400] "GET /css/img/ul.gif HTTP/1.1"
404 288
which if I'm correct means that the requests are getting routed
properly to my PC, but then something weird happens and the request
doesn't get served. Can someone give me a link to where I can find out
what all the error codes mean please.

  #6 (permalink)  
Old 06-26-2005
jsantos8
 
Posts: n/a
Default Re: my webserver cannot be seen from outside my network

ok disregard the last msg this is what comes up when I access it
through my local pc. other pc's don't show up on this list at all.
I've also disabled 'Block Anonymous Internet Requests' in my Linksys
router and still no dice.

  #7 (permalink)  
Old 06-27-2005
Ian
 
Posts: n/a
Default Re: my webserver cannot be seen from outside my network

Although we appear to have totally different broadband systems, (I'm on
DSL) with different router manufacturers. Your situation sounds just
like the problem I had accomplishing the same thing on my computer.

I'm not entirely sure how I "fixed" the problem, but for me, it seemed
to disappear after I changed my WinXP "Local area Connection">"Internet
Protocol (TCP-IP) Properties from "Obtain an IP automatically" to "use
the following address automatically" and specifying the ip, subnet, and
default gateway to what I thought my router was already assigning to
the server machine, anyway... then I also permanantly afixed the two
primary DNS servers to the ones deligated from my ISP.

Immediately afterward, I was able to look from the outside in.

Again, I'm not sure why... but hey, it's working.

Good luck.

P.S. If you have an anti-virus suite with a firewall built in, it may
need to have an exception added for Apache.exe

jsantos8 wrote:
> ok disregard the last msg this is what comes up when I access it
> through my local pc. other pc's don't show up on this list at all.
> I've also disabled 'Block Anonymous Internet Requests' in my Linksys
> router and still no dice.


  #8 (permalink)  
Old 06-29-2005
jsantos8
 
Posts: n/a
Default Re: my webserver cannot be seen from outside my network

Ok problem somewhat resolved:
httpd.conf
<
Listen 8082
ServerName IP:8082
>

hosts
<
my_external_ip localhost
>

It turns out Optonline sux and won't let you run servers on the
standard port 80. Something odd happens now though, I can't see the
server from the pc running it anymore but visible outside. Kinda weird
but I'm not too concerned since I already know whats there. However if
anyone knows why this is happening let me know.

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 06:58 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0