LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 03-20-2005, 04:50 AM   #1
raghavendra
LQ Newbie
 
Registered: Feb 2005
Location: Bangalore
Distribution: Fedora Core 3
Posts: 8

Rep: Reputation: 0
IP address not resloved in Apache


Hi
I have installed apache (httpd-2.0.53.tar.bz2) on Fedora Core 3. Whenever I start the service using the command /usr/local/apache2/bin/apachectl start, it starts successfully.
In my browser if I give
//localhost/
or
//127.0.0.1/
the page opens properly without any error.
But if i give
//210.214.26.124/
(which is my ip).......................it shows connection timed out. Because of which I am unable to host a webpage from my computer.
What should I do to solve this problem...........Please help
 
Old 03-20-2005, 05:37 AM   #2
SteveK1979
Member
 
Registered: Feb 2004
Location: UK
Distribution: RHEL, Ubuntu, Solaris 11, NetBSD, OpenBSD
Posts: 225

Rep: Reputation: 43
Hi,

Depending on how you're set up, you may not be able to browse to your external IP from the machine itself. For example, I can't browse to my external IP, but it doesn't mean I can't host a website. If I try and browse to the external IP it will try and connect me to the external interface of my router. As the connection is being received from the private network, the port forwarding doesn't come into effect and I won't see my website.

Have you actually tried browsing to your machine from another machine on a different public IP address? And if you have and it still failed, have you set up apache to listen for connections on the external IP address. Alos have you checked that there are no iptables rules preventing incoming connections. From what I remember from installing it on my machine at work, the default rules are fairly restrictive.

Cheers,

Steve
 
Old 03-20-2005, 06:03 AM   #3
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
As said above you cannot "see yourself from yourself" unless you configure loopback. The other alternative is to find a public proxy server and then set your browser to work through the proxy server and the other is mentioned above and that is use another server.
 
Old 03-20-2005, 08:55 AM   #4
PAH-1020
LQ Newbie
 
Registered: Mar 2005
Posts: 4

Rep: Reputation: 0
hi sorry just posting so i can put my topic up ;9
 
Old 03-20-2005, 09:19 AM   #5
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Quote:
Originally posted by PAH-1020
hi sorry just posting so i can put my topic up ;9
Please do not do this it is against the site rules and does no good in providing help to anyone:
http://www.linuxquestions.org/rules.php
Quote:
* Do not post if you do not have anything constructive to say in the post.
Also, please consider that there are many people of all ages on this forum and your signature is not completely appropriate. Again, from the rules you agreed to when signing up:
Quote:
Do not post any messages that are obscene, vulgar, sexually-orientated, hateful, threatening, or otherwise violative of any laws.

Last edited by david_ross; 03-20-2005 at 09:23 AM.
 
Old 03-20-2005, 10:07 AM   #6
jeremy
root
 
Registered: Jun 2000
Distribution: Debian, Red Hat, Slackware, Fedora, Ubuntu
Posts: 13,602

Rep: Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084
PAH-1020, First, you *knowingly* broke the rules to be able to post a URL, and then the first legitimate post you have is against the LQ rules and contains abusive language. This is your first and final warning. Please reread the rules you agreed to when signing up for LQ and make sure to abide by them. Thanks.

--jeremy
 
  


Reply



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
how to get ip address, broadcast address, mac address of a machine sumeshstar Programming 2 03-12-2005 04:33 AM
Apache 2 Server - Can't access it via ip address from inside LAN Robstro Linux - Networking 1 06-30-2004 01:50 PM
Apache redirecting to IP address di11rod Linux - Software 6 06-03-2004 06:18 PM
apache address problem?? automicro Linux - Software 1 08-14-2003 12:43 PM
About Apache, if i want to have page name before IP address thep Linux - Newbie 1 04-15-2001 10:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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

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