LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-18-2003, 02:40 PM   #1
yanar99
LQ Newbie
 
Registered: Dec 2003
Posts: 14

Rep: Reputation: 0
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 !!!!!
 
Old 12-18-2003, 02:50 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
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.
 
Old 12-20-2003, 08:23 AM   #3
g-rod
Member
 
Registered: Dec 2003
Location: Long Island, NY USA
Distribution: RedHat, SUSE
Posts: 336

Rep: Reputation: 30
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".
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
difference between "Web server local URL" and "IPv4 address"? kpachopoulos Linux - General 2 09-17-2004 02:30 PM
"X-MS" cant open because "x-Multimedia System" cant access files at "smb&qu ponchy5 Linux - Networking 0 03-30-2004 12:18 AM
need help, on how to access quickly to special characters like "" or ""? Motaro Linux - Newbie 1 12-31-2003 12:53 PM
Email Error - "Recipient address rejected: Relay access denied" ripcord Linux - Newbie 1 10-31-2002 04:00 PM
"host" ok, but "ping" can't find ip address hardigunawan Linux - Networking 2 05-16-2002 06:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:41 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration