LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 03-22-2005, 08:13 PM   #1
ricardof
LQ Newbie
 
Registered: Feb 2005
Posts: 15

Rep: Reputation: 0
Apache Web Server


Hey im having trouble setting my apache server, when i type into my browser the internal ip of the server ex.10.0.0.3 its ok, but when i try using my internet ip its like the webserver doesnt exist...
i have forwarded the port 80 to the 10.0.0.3 server
i have setup the httpd.conf so it listnes on port 80

-netstat -nlp
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 4739/httpd

-I havent set any iptables rule.

-my routers nat config:
10.0.0.3:80 *****:80 0 0x00041 udp eth0
10.0.0.3:80 *****:80 0 0x00041 tcp eth0

please help...
p.s. im sure port 80 is not opened for any other internal ip...(NAT)
 
Old 03-23-2005, 12:44 AM   #2
DaHammer
Member
 
Registered: Oct 2003
Location: Planet Earth
Distribution: Slackware, LFS
Posts: 561

Rep: Reputation: 30
If you attempting to connect to the server on your external IP via a router, then that's likely your problem. That would mean you're going from an internal PC to the router, where NATing occurs, then coming back into the external IP which is then fowarded to the internal server. That may work in some setups sometimes, but usually it doesn't or at least is erratic at best. If that's the case try accessing the webserver from some remote location outside your network.
 
Old 03-23-2005, 11:49 AM   #3
siweb
LQ Newbie
 
Registered: Aug 2003
Location: UK
Distribution: mandrake 10
Posts: 27

Rep: Reputation: 15
look here m8... looks like u had the same problem i had.

http://www.linuxquestions.org/questi...hreadid=211019
 
  


Reply



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
Apache Web Server lugos Linux - Newbie 2 07-01-2005 04:52 PM
Apache Web Server Dapernia Linux - Networking 8 01-27-2005 03:57 AM
setting up password protected web forms on an apache web server AZDAVE Linux - Security 3 07-07-2004 12:03 PM
apache web server .. johnyy Linux - Software 1 11-22-2003 05:07 AM
apache web server AZDAVE Linux - Newbie 2 10-03-2003 01:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:48 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
Open Source Consulting | Domain Registration