Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 02-23-2010, 01:16 PM   #1
LQ Newbie
Registered: Feb 2010
Posts: 11

Rep: Reputation: 0
web server access problem

hey everyone !!!!!
I have configured apache 2.2 on my machine and been trying to access it through internet(using public ip)...
I have got a "shiro router" and forwarded the port 80 on it, and tried to access the server using h**p:\\my_public_ip:80, but all thats appearing is the router's configuration page(the same one that appears on
Since the above method didn't work so i decided to forward a different port (port:200) and changed the listen port to "200" in httpd conf file, after which i was able to access the server using h**p:\\my_local_ip:200, but again no success with the public ip, it now says "unable to connect".

note:alongwith ip forwarding i have made the following two changes (and i have no idea what these two settings are for )
1)allow incoming ping
2)DMZ (demilitarized zone)
both these were disabled before.....and yeah my router is NAT enabled...

Last edited by aimseeker; 02-23-2010 at 01:38 PM. Reason: mistake!!!
Old 02-23-2010, 02:26 PM   #2
Registered: Feb 2010
Posts: 36

Rep: Reputation: 20

there should be somewhere a setting to tell the router to
accept incoming request from internet, and forward those
request to the ip of your PC

NAT works for connection from your PC to the external sites

neither ping nor DMZ are connected to this problem.

Old 02-23-2010, 02:27 PM   #3
Registered: May 2008
Location: Romania
Distribution: Debian
Posts: 242

Rep: Reputation: 41
maybe the router has enabled remote management on port 80..and instead of forwarding to the web server opens it's own web interface.
Old 02-23-2010, 03:10 PM   #4
Registered: Sep 2006
Location: Orange County, NY
Distribution: Ubuntu, Solaris, Android
Posts: 329
Blog Entries: 21

Rep: Reputation: 52
I would have to agree with ddaemonunics , change apache back to :80 make sure port forwarding is going towards your server and change the remote management page to :8080

Old 02-24-2010, 06:39 AM   #5
LQ Newbie
Registered: Feb 2010
Posts: 11

Original Poster
Rep: Reputation: 0
thxx guys for ur replies...
btw i wud like to ask one more quest...
Is there a way to check if my isp has blocked port 80??
And if :80 is blocked can i use a different port like :200 to access webserver frm outside by forwarding port :200 from my router and changing the listening port to :200 in httpd.conf????
Old 02-24-2010, 07:11 AM   #6
LQ Newbie
Registered: Feb 2010
Posts: 11

Original Poster
Rep: Reputation: 0
i forwarded port :80 and :443 for Apache on my "shiro" router...
but when i try to check if port :80 is open from outside using "PFPortChecker" it generates this message:
"Could not test port 80 because some other application has that port locked.Please close any applications that may be using this port and try again"
though it shows port :80 open on UDP protocol.. :-?
Btw After this message i closed every application from task manager(antivirus,firefox etc) that may be using port 80 but again the same message appeared....
(1)Does that mean that port :80 is blocked by my ISP on TCP protocol??
but when i tried a different port checker "Simple port Checker" it shows that "80 is online and can be reached" on the right pane and the same message as "PFPortChecker" on the left pane???

Is port :80 blocked by my isp on TCP or not???
Old 02-24-2010, 01:55 PM   #7
LQ Newbie
Registered: Feb 2010
Posts: 11

Original Poster
Rep: Reputation: 0

ok thxx everyone!!!!
problem solved!!!!
Old 02-24-2010, 03:09 PM   #8
Registered: Oct 2004
Location: Atlanta
Distribution: CentOS, RHEL, HP-UX, OS X
Posts: 567

Rep: Reputation: 57
aimseeker chances are your ISP is not blocking ports 80, 443, 21, 22, or 23. These are all very commonly used protocols. 80 is standard web traffic, 443 is secure web traffic, 21 is FTP, 22 is Secure Shell (SSH), and 23 is telnet.
Old 02-24-2010, 04:23 PM   #9
LQ Newbie
Registered: Feb 2010
Posts: 11

Original Poster
Rep: Reputation: 0
yeh dude but they can block one sided(from outside network to inside network) traffic on port 80.


prob, server, web

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
tomcat6 install access to web manager and web admin problem speedsrfr Linux - Server 7 06-24-2009 09:13 AM
web server access problem yuye811 Linux - Server 6 01-25-2008 02:06 PM
[IPTABLES] open ext access to web server on GW server kozaki Linux - Networking 3 08-27-2005 06:11 PM
cannot access web server from LAN puding Linux - Newbie 11 09-07-2004 01:06 AM
Can't access Linux web server web pages from LAN client jaydave Linux - Networking 4 03-16-2003 03:38 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:24 AM.

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
Open Source Consulting | Domain Registration