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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
01-21-2005, 12:59 AM
|
#1
|
LQ Newbie
Registered: Sep 2004
Location: Montreal - Canada
Distribution: Mandrake 10.0
Posts: 11
Rep:
|
apache: http://localhost (work) http://ipaddress (not working)
Hi all,
I am trying to get my webserver working !!!
I know that my internet provider block the port 80 and i am using a router (with a firewall) so i forward the the port :8080 to :8080
Under Windows XP it works well
http://localhost:8080 works and http://xx.yy.zz:8080 works too (xx.yy.zz is my ip address)
but under Linux FC3
http://localhost:8080 wors but http://xx.yy.zz:8080 does not working !!! and i got a Timeout error
my httpd.conf is the same as the original one i just changed
Listen 80 to Listen 8080
I dont know where is the error !
Please help
Last edited by sarmad; 01-21-2005 at 01:02 AM.
|
|
|
01-21-2005, 01:32 AM
|
#2
|
Member
Registered: Oct 2003
Location: Chennai
Distribution: Slackware 12.1
Posts: 165
Rep:
|
What is the /etc/hosts contents ?
|
|
|
01-21-2005, 01:43 AM
|
#3
|
Senior Member
Registered: May 2004
Location: Hilliard, Ohio, USA
Distribution: Slackware, Kubuntu
Posts: 1,851
Rep:
|
|
|
|
01-21-2005, 03:11 AM
|
#4
|
Member
Registered: Oct 2003
Location: Planet Earth
Distribution: Slackware, LFS
Posts: 561
Rep:
|
Quote:
I know that my internet provider block the port 80 and i am using a router (with a firewall) so i forward the the port :8080 to :8080
|
foward port :8080 to :8080? If you meant 80 to 8080, then that isn't going to work if you ISP blocks 80. Since port 80 is blocked there will never be anything coming in on it to foward, as it's blocked by the ISP long before it ever gets to you.
And are you trying to connect to your IP from behind the router? That's probably not going to work either. That would mean the packet would go out to the router (who holds a lease on the external IP) where it's most likely NAT'ed, then tries to come back in using the same IP. Anyway, try connecting to the IP from some other PC outside your network.
|
|
|
01-21-2005, 03:33 AM
|
#5
|
Senior Member
Registered: Nov 2002
Location: CA
Distribution: redhat 7.3
Posts: 1,440
Rep:
|
What IP address are you using? The linux ip address or your WAN?
-twantrd
|
|
|
01-21-2005, 06:22 PM
|
#6
|
LQ Newbie
Registered: Sep 2004
Location: Montreal - Canada
Distribution: Mandrake 10.0
Posts: 11
Original Poster
Rep:
|
Solved
Hi all,
thank you for your participation.
as i said above the problem is not from my router niether my isp because it works under windows and poeple can access to my server through the internet
so the problem is from my linux !!!
and finaly i found the solution :-)
under linux FC3 there is a firewall that block all access throught the WWW(HTTP) !!
the solution is:
(Genome) Application > System Settings > Security Level
(KDE) Menu > System Settings > Security Level
and put the WWW(HTTP) as a Trusted services
and put eth(0) {my network card} as a Trusted devices
and now it works :-)
|
|
|
01-21-2005, 06:44 PM
|
#7
|
Senior Member
Registered: Nov 2002
Location: CA
Distribution: redhat 7.3
Posts: 1,440
Rep:
|
Ahh, totally forgot about that one. That didn't come to my mind at the moment. Good catch. You might as well just turn firewall off on FC3 and input your own allow/reject rules with iptables.
-twantrd
|
|
|
02-05-2013, 08:47 AM
|
#8
|
Member
Registered: Aug 2011
Location: Chennai,India
Distribution: Redhat,Centos,Ubuntu,Dedian
Posts: 558
Rep:
|
Changing of below line in httpd.conf file .Resolved the issue
Listen 127.0.0.1:80
Last edited by jsaravana87; 02-05-2013 at 08:49 AM.
|
|
|
All times are GMT -5. The time now is 01:17 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|