Re: Inaccessible web server behind router inspite of port forwarding
From: John Wunderlich (jwunderlich_at_lycos.com)
Date: 12/23/03
- Next message: Matthew: "Cable modem to sunqe or sunhme card"
- Previous message: Skylar Thompson: "Re: Switch connections"
- In reply to: Swaroop Kumar: "Inaccessible web server behind router inspite of port forwarding"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 23 Dec 2003 03:43:49 GMT
jamdagni@yahoo.com (Swaroop Kumar) wrote in
news:c9a47642.0312220648.46c32fa3@posting.google.com:
> I am trying to host a web server on the PC with IP address
> 192.168.0.2. I set up port forwarding on the router so that port
> 80 is forwarded to 192.168.0.2. I then set up an alias in
> dnsalias.org so that hostname resolution is done. However, I was
> unable to access the web server using the hostname or IP address.
> I read in one of the newsgroups that my ISP (Comcast) may be
> blocking some of the more well-known ports to force us to comply
> with their rules. So, I configured Apache (running on 192.168.0.2)
> to listen on 8084 and, later, 8085. No dice. I still can't seem to
> reach the web server by IP address or hostname. Next, I wrote my
> own little server and client programs in Java and ran the server
> on 192.168.0.2 while I tried running the client; first from
> 192.168.0.2 itself and later, from my PC at work. Still no luck. I
> can't seem to get the router to log more information so that I can
> check if its at least getting the request from the browser and
> throwing it away instead of forwarding it on to 192.168.0.2. So, I
> have no idea how to debug this. I would really, really welcome any
> suggestions/advice/tips/hints.
>
First I have to question the obvious... your are trying to contact the
machine from outside using your Router's WAN IP address and not the
192.168.x.x address, right?
Given that, try configuring the router to place the machine in the DMZ
rather than trying port forwarding. If you can get it to work under
those conditions, then you can back into port forwarding.
If that doesn't work, then temporarily try removing the router and
connecting the one computer directly to the cable modem; see if that
works. With only one computer connected directly to the modem, you can
use packet-capturing tools like the freeware Ethereal to see if any of
the packets are making it to your location.
<http://www.ethereal.com/>
HTH,
John
- Next message: Matthew: "Cable modem to sunqe or sunhme card"
- Previous message: Skylar Thompson: "Re: Switch connections"
- In reply to: Swaroop Kumar: "Inaccessible web server behind router inspite of port forwarding"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|