LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Cannot access webserver using "public" address (https://www.linuxquestions.org/questions/linux-newbie-8/cannot-access-webserver-using-public-address-126991/)

yanar99 12-18-2003 01:40 PM

Cannot access webserver using "public" address
 
Help, help!

I cannot access my webserver using "public" address. "Public" is in quotes because, actually, my problematic LAN is within my functioning Home Lan (you'll see later what I mean).

Anyways - I have this set up:

MY ROUTER :
LAN : (MAC Address : blah blah)
IP Address : 192.168.2.1
Subnet Mask : 255.255.255.0

WAN : (MAC Address : blah blah)
IP Address : 192.168.1.174 <--- connection running off from home router
Subnet Mask : 255.255.255.0
Default Gateway : 192.168.1.1 <--- home router connected to the cable modem/internet
DNS : 202.8.224.3
202.8.224.1
0.0.0.0

WINDOWS LAPTOP :
Dynamic IP

LINUX DESKTOP (The Apache WEBSERVER)
Static IP 192.168.2.100

IN THE ROUTER :
I have defined port 80 requests to be forwarded to Virtual Server 192.168.2.100.

WHAT I CAN DO : I can access the weberver (ie; see the default index.html) when I access:
(1) localhost from the Linux Desktop
(2) 192.168.2.100 from the Linux Desktop
(3) 192.168.2.100 from the Windows Laptop
I can access the Internet in both.

WHAT I CANNOT DO : I cannot access the webserver from either desktop or laptop when I try to access 192.168.1.174 - which I assume is my LAN's "public" IP.

What am I doing wrong ???

Thanks in advance for any help !!!!!

david_ross 12-18-2003 01:50 PM

Well 192.168.1.174 is a private address and not a public address so I doubt that is it unless you are part of an Intranet.

You probably will not be able to access the external IP internally as this would require loopback natting. If you wnat to test it with a real public IP then you can try from guardster.

g-rod 12-20-2003 07:23 AM

I agree with david_ross. Try cycleing the power on the cable modem, then the router. Wait for the cable modem to come back online and then reboot the router. Sometimes with cable modems they get "stuck".


All times are GMT -5. The time now is 01:00 AM.