LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 12-09-2010, 04:52 PM   #1
jsqihui
LQ Newbie
 
Registered: Dec 2010
Posts: 4

Rep: Reputation: 0
problem when build LAMP server behind a router


I build a LAMP server behind a router.
The current situation is:
1.I could access index.html of apache within the LAN.
2.I could access the vsftp outside of the LAN.
3.I could access the ssh outside of the LAN.

I have configured my router to do reflections(although I don't know it's correct or not.). I think the LAMP works good since I could use it inside the LAN. The configuration of the router is at least partly right because ssh and vsftp work fine(I test by browsing the ip:74.***.***.*** in the lan, not 192.168.1.8 --this also works. ).

I cannot access web service outside the LAN. And the error message is "Oops! Google Chrome could not connect to 74.***.***.***"

Did I miss some configuration of router?Apache2?Ubuntu? I use the ubuntu server 2010.10 version.

Really appreciate who is concerning on this problem.

--Hui
 
Old 12-09-2010, 07:16 PM   #2
iceflatline
LQ Newbie
 
Registered: Aug 2009
Distribution: many
Posts: 16

Rep: Reputation: 2
In your router, make sure you've forwarded port 80 to your LAMP server's IP address. If you're sure you've already done that, then I suspect your ISP is blocking port 80 inbound. Mine does. You can check if this is the case by designating a different listen port on the Apache server and then forward to that port.
 
  


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
lamp server communication goes on and off (apache, sshd, nx-server, mysql) jonjon Linux - Server 2 06-07-2010 11:23 AM
Building my first home server - atom based router/file server build need advice mothergoose729 Linux - Networking 5 03-23-2010 03:19 AM
Setting up Ubuntu LAMP Server for local web server sewmyheadon Linux - Newbie 5 02-11-2007 02:06 PM
LXer: How To Build A LAMP Server With Ubuntu 6.06 LTS LXer Syndicated Linux News 1 06-06-2006 09:25 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 09:34 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