LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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, 07: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, 07: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: 328Reputation: 328Reputation: 328Reputation: 328
Have you opened ports 80 and 443 (if you have SSL configured) on the firewall(s)?
 
Old 05-17-2006, 08: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, 08: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: 328Reputation: 328Reputation: 328Reputation: 328
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, 08: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, 05: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


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


All times are GMT -5. The time now is 06:21 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration