LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 02-23-2010, 12:16 PM   #1
aimseeker
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 192.168.1.1).
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".

http://i45.tinypic.com/28hit21.png

http://i49.tinypic.com/29c2kpx.png

http://i49.tinypic.com/5p3o0n.png

http://i46.tinypic.com/2d1mpzb.png

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 12:38 PM. Reason: mistake!!!
 
Old 02-23-2010, 01:26 PM   #2
giammy
Member
 
Registered: Feb 2010
Posts: 36

Rep: Reputation: 20
Hi,

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.

bye
giammy
 
Old 02-23-2010, 01:27 PM   #3
ddaemonunics
Member
 
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 ...it opens it's own web interface.
 
Old 02-23-2010, 02:10 PM   #4
jkzfixme
Member
 
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

Regards,
JKZfixme
 
Old 02-24-2010, 05:39 AM   #5
aimseeker
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, 06:11 AM   #6
aimseeker
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???

http://i50.tinypic.com/4tvejq.png

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

Original Poster
Rep: Reputation: 0
solved

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

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, 03:23 PM   #9
aimseeker
LQ Newbie
 
Registered: Feb 2010
Posts: 11

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


Reply

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


All times are GMT -5. The time now is 08:25 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration