LinuxAnswers - the LQ Linux tutorial section.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 04-30-2006, 12:39 AM   #1
Registered: Mar 2004
Posts: 31

Rep: Reputation: 15
Angry web server not accessible externally

First attempt at setting up a server, so I apologize if I it sounds like I don't know what I'm doing...........

I installed an apache server under Mandriva 2006. The problem is that it's accessible via the internal IP address (from the router) but not at all externally.

Here's the output of ifconfig:
eth0 Link encap:Ethernet HWaddr 00:16:76:50:B5:88
inet addr: Bcast: Mask:
inet6 addr: fe80::216:76ff:fe50:b588/64 Scope:Link
RX packets:11884 errors:0 dropped:0 overruns:0 frame:0
TX packets:7138 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:6395829 (6.0 MiB) TX bytes:1117605 (1.0 MiB)

lo Link encap:Local Loopback
inet addr: Mask:
inet6 addr: ::1/128 Scope:Host
RX packets:12738 errors:0 dropped:0 overruns:0 frame:0
TX packets:12738 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:3008256 (2.8 MiB) TX bytes:3008256 (2.8 MiB)

I have a static IP address setup at I made sure that the static IP is not conflicting with the routers DHCP server. I then set up port forwarding for that IP through the router (a D-link DL-524).

Initially I tried port 80 (apache) and port 21 (proftpd server), after that failed I thought maybe it was a case of comcast blocking those ports so I switched to port 8095 and 8888, but still nothing externally.

I also tried setting up the IP as a DMZ on the router which I guess should let everything in, but that also failed.

Tested on computers outside the network and via google translate to see if it worked externally using the external IP and has failed each time as stated........

Actually, everything is not working internally either. I can only access the server from the actual computer running it. No other internal computer can access it from the internal IP (shouldn't this be working at least?)

Would really appreciate any suggestions because I've really completely run out of ideas........
Old 04-30-2006, 12:55 AM   #2
Registered: Mar 2004
Posts: 31

Original Poster
Rep: Reputation: 15
solved my own problem..........should've figured it out long ago, maybe someone will learn from it.

anyway, I had iptables running so the firewall was blocking all incoming traffic to my server, which makes sense why it wasn't accessible externally.

everything is working great now!


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
Which web-accessible email software? wad4ever Linux - Software 16 09-01-2006 09:31 AM
cant access my web server externally Eclectic Linux - Networking 2 04-17-2006 08:47 AM
Email question - externally hosted mail server jkmb111 Linux - Software 1 05-17-2005 07:56 PM
Web Server not accessible (TPM) Croaker Linux - Software 1 01-14-2005 10:06 PM
Web server not accessible from other PCs jenna_h Linux - Networking 10 12-18-2003 02:15 PM

All times are GMT -5. The time now is 05:31 PM.

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