LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-17-2006, 06:52 PM   #1
feltdd
LQ Newbie
 
Registered: May 2006
Posts: 12

Rep: Reputation: Disabled
Apache - unable to connect, ssh ok


I have a new RH4EL4 machine, and I've loaded and configured apache on it. httpd is running (5 instances) but I'm unable to connect to the server with a browser; says No connection.

httpd.conf has : ServerName wazoo.thissite.com:80 and I am able to ssh to the machine, just no web connection.

Any ideas why I am unable to attach to httpd?
Thx! (newbie on apache..)
 
Old 05-17-2006, 06:58 PM   #2
macemoneta
Senior Member
 
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
Blog Entries: 2

Rep: Reputation: 344Reputation: 344Reputation: 344Reputation: 344
Have you opened ports 80 and 443 (if you have SSL configured) on the firewall(s)?
 
Old 05-17-2006, 07:09 PM   #3
feltdd
LQ Newbie
 
Registered: May 2006
Posts: 12

Original Poster
Rep: Reputation: Disabled
Don't know how to do that.. don't know if the firewall is running on the server. (don't see firewall in ps -ef) The error I get is Unable to connect. Sorry to be a newbie to linux; but how does one "open" the ports? Thx!!
 
Old 05-17-2006, 07:18 PM   #4
macemoneta
Senior Member
 
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
Blog Entries: 2

Rep: Reputation: 344Reputation: 344Reputation: 344Reputation: 344
That's a function of the software and/or hardware that is being used to prevent unwanted access. If you're not the administrator (for example, if you are using a hosting company), you will need to contact them to determine what you need to do to enable remote web access.
 
Old 05-17-2006, 07:26 PM   #5
feltdd
LQ Newbie
 
Registered: May 2006
Posts: 12

Original Poster
Rep: Reputation: Disabled
Yes, I'm the admin on this box, loaded it a couple of weeks ago. The PC I'm using to ssh into the server with is on the same network. /etc/services shows ports 80 and 443 being assigned ok, and "service httpd start" and reload work ok. Maybe the "Unable to Connect" is a clue towards the RH firewall. The httpd.conf file "looks" ok compared to one that's running. Thx..
 
Old 05-18-2006, 04:03 PM   #6
feltdd
LQ Newbie
 
Registered: May 2006
Posts: 12

Original Poster
Rep: Reputation: Disabled
The problem was indeed the firewall, and once setup to allow http traffic it's working. Thank you for the hint!
-Dave
 
  


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
LAN Hosts unable to connect to Apache 2.0.40-21.11 Bedwig Linux - Newbie 6 02-14-2006 05:23 AM
unable to connect to my linux router from internet using ssh shkkhanhyd Linux - Security 3 03-31-2004 09:44 PM
linux-apache-unable to connect to site derekw Linux - Networking 2 09-18-2002 04:50 AM
Unable to Connect leiterch Linux - Networking 4 09-10-2002 02:14 AM
unable to connect with ssh except to localhost Yaukuai Linux - Software 0 09-30-2001 06:42 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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