LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 04-19-2004, 03:49 PM   #1
tarnishedXhalo
LQ Newbie
 
Registered: Apr 2004
Distribution: RedHat
Posts: 6

Rep: Reputation: 0
Apache connection refused


I am currently running RedHat Linux 9 and am having a problem connecting to the Apache server from a remote computer. If I type in 127.0.0.1 or localhost, the test page appears but if I use the IP address it gives me an error stating that the 'connection was refused'.

I figured that this was a firewall issue so I made sure to completely disable the firewall but the problem is still occuring.

Any suggestions?
 
Old 04-20-2004, 06:43 PM   #2
misc
Senior Member
 
Registered: Apr 2003
Distribution: Red Hat + Fedora
Posts: 1,084

Rep: Reputation: 54
Is Apache configured to listen to your external interface?

What does netstat -tpan print?
 
Old 05-19-2004, 12:51 AM   #3
PhD
LQ Newbie
 
Registered: Jan 2004
Posts: 29

Rep: Reputation: 15
also try adding an entry in your /etc/hosts file

currently there will be something like

127.0.0.1 localhost localhost.localdomain


add a line under it (replacing the machine's IP and hostname)


192.168.0.x machinehostname


but also make sure that the "servername" setting in the httpd.conf is set to the machine's hostname (or FQDN)
 
  


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
apache -> connection refused error dimlight Linux - Networking 6 08-11-2010 01:56 PM
Connection Refused Using Apache G24 Linux - Networking 14 09-24-2005 11:31 AM
apache/ftp connection refused??? Devboy Linux - Software 2 10-22-2003 03:33 AM
apache/mozilla Connection Refused Ju Deddo Koinu Linux - Networking 8 05-02-2003 03:46 PM
apache connection refused ariana Linux - Newbie 2 02-28-2003 11:26 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

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