LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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 04-17-2004, 02:37 PM   #1
Hal
Member
 
Registered: Oct 2003
Location: East Anglia, England
Distribution: Dapper Drake / Slackware
Posts: 151

Rep: Reputation: 30
Apache; connection refused 127.0.0.1 error.


I downloaded Apache so that I can test dynamically generated pages on my computer. I installed it and started the httpd daemon, but when I typed 127.0.0.1 into my browser it came up with "Connection Refused to 127.0.0.1" I would be grateful to any ideas on why it did this.

I installed the most recent tar.gz with the default configuration.
 
Old 04-17-2004, 02:45 PM   #2
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,133

Rep: Reputation: 197Reputation: 197
Did you even check to see what directory its using as the default root directory to place pages? Have you tried your actual IP instead of just your loopback? More details please.
 
Old 04-17-2004, 02:53 PM   #3
Hal
Member
 
Registered: Oct 2003
Location: East Anglia, England
Distribution: Dapper Drake / Slackware
Posts: 151

Original Poster
Rep: Reputation: 30
I will check httpd.conf, I would give more details straight away but I still can't get my softmodem to work with RedHat, so I keep on having to boot into XP so that I can browse the 'net.
 
Old 04-17-2004, 03:54 PM   #4
AutOPSY
Member
 
Registered: Mar 2004
Location: US
Distribution: Redhat 9 - Linux 2.6.3
Posts: 836

Rep: Reputation: 31
Make sure your firewall is not turned on to block port 80.
 
Old 04-18-2004, 08:19 AM   #5
Hal
Member
 
Registered: Oct 2003
Location: East Anglia, England
Distribution: Dapper Drake / Slackware
Posts: 151

Original Poster
Rep: Reputation: 30
I am still a newbie to Linux, so I just turned off the firewall altogether, as the computer isn't connected to the internet anyway. It still gives the same message, connection refused. I checked the document root and it points to where it should.
 
Old 04-18-2004, 09:32 AM   #6
michaelk
Moderator
 
Registered: Aug 2002
Posts: 11,803

Rep: Reputation: 721Reputation: 721Reputation: 721Reputation: 721Reputation: 721Reputation: 721Reputation: 721
Is apache running? Verify with ps or top.
Check the log files for errors /var/log
 
Old 04-18-2004, 02:08 PM   #7
Hal
Member
 
Registered: Oct 2003
Location: East Anglia, England
Distribution: Dapper Drake / Slackware
Posts: 151

Original Poster
Rep: Reputation: 30
I deleted apache, then installed a rpm version, it worked fine. I decided to give the source another go though, and it worked! I don't think I was doing something altogether right. I am going to buy an external modem so that I can surf on Linux and help myself out a bit more, thanks anyway for all your comments.

I will learn from this, and make sure I post all the information I can collect about any problem I get. (-;

Last edited by Hal; 04-18-2004 at 02:09 PM.
 
  


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
apache -> connection refused error dimlight Linux - Networking 6 08-11-2010 01:56 PM
Apache "Connection was refused" remote access error spicychicken Linux - Newbie 7 02-11-2005 12:14 PM
Apache connection refused tarnishedXhalo Red Hat 2 05-19-2004 12:51 AM
Connection refused by [127.0.0.1] GraemeK Linux - Networking 6 09-03-2003 02:26 PM
telnet:connect to address 127.0.0.1: connection refused sdeven Linux - Networking 6 12-23-2002 12:38 AM


All times are GMT -5. The time now is 07:37 PM.

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