LinuxQuestions.org
Review your favorite Linux distribution.
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 02-03-2003, 05:05 PM   #1
KevinJ
Member
 
Registered: Feb 2001
Location: Colorado Springs, CO
Distribution: Redhat v8.0 (soon to be Fedora? or maybe I will just go back to Slackware)
Posts: 857

Rep: Reputation: 30
Apache won't answer on Port 80, but will on 443


I don't know what happened, but my Apache server just quit answering on port 80. If I use an "https://" instead, then it works. That means port 443 is working right?

I don't have any fancy firewalls, I don't have anything restricted in my hosts.deny

Nothing is being logged in /var/log/messages, /var/log/secure, or /var/log/httpd/access_log

An nmap scan of my ip addy shows that its listening on port 80. A local "links" connection works fine.



KevinJ
 
Old 02-03-2003, 05:07 PM   #2
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
try it by ip address. It sounds like a dns or virtual host problem
 
Old 02-03-2003, 05:13 PM   #3
KevinJ
Member
 
Registered: Feb 2001
Location: Colorado Springs, CO
Distribution: Redhat v8.0 (soon to be Fedora? or maybe I will just go back to Slackware)
Posts: 857

Original Poster
Rep: Reputation: 30
I am trying the ip address... there is no FQDN on this server.

-K.
 
Old 02-03-2003, 05:35 PM   #4
KevinJ
Member
 
Registered: Feb 2001
Location: Colorado Springs, CO
Distribution: Redhat v8.0 (soon to be Fedora? or maybe I will just go back to Slackware)
Posts: 857

Original Poster
Rep: Reputation: 30
Any other ideas?
 
Old 02-03-2003, 05:46 PM   #5
bulliver
Senior Member
 
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,760
Blog Entries: 4

Rep: Reputation: 78
Are you sure you didn't accidently erase or comment out something relevant in http.conf? Look for...
Code:
# Port: The port to which the standalone server listens. For
# ports < 1023, you will need httpd to be run as root initially.
#
Port 80
If that looks fine then what happens if you specifically bind apache to your ip and port? ie:
Code:
# Listen: Allows you to bind Apache to specific IP addresses and/or
# ports, in addition to the default. See also the <VirtualHost>
# directive.
#
#Listen 3000
#Listen 12.34.56.78:80
Do you have something messed up in your virtual host section?
 
Old 02-03-2003, 05:57 PM   #6
KevinJ
Member
 
Registered: Feb 2001
Location: Colorado Springs, CO
Distribution: Redhat v8.0 (soon to be Fedora? or maybe I will just go back to Slackware)
Posts: 857

Original Poster
Rep: Reputation: 30
my sections of code look exactly like yours. I don't have anything special in the virutal host section. just the defaults as far as I can tell.

-Kevin
 
Old 02-03-2003, 06:33 PM   #7
KevinJ
Member
 
Registered: Feb 2001
Location: Colorado Springs, CO
Distribution: Redhat v8.0 (soon to be Fedora? or maybe I will just go back to Slackware)
Posts: 857

Original Poster
Rep: Reputation: 30
I replaced my /etc/httpd/conf/httpd.conf with the default one from the apache installation files and restarted my httpd daemon.

Its still doing it. Perhaps it has something to do with trying to access it from work or something?

Can someone else try to get to http://24.55.121.45 and see if they can at least get the default Apache front page?

-KevinJ
 
Old 02-03-2003, 06:54 PM   #8
bulliver
Senior Member
 
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,760
Blog Entries: 4

Rep: Reputation: 78
"An error occured while loading http://24.55.121.45:
Could not connect to host 24.55.121.45"
sorry...

I can ping you fine.

Last edited by bulliver; 02-03-2003 at 06:55 PM.
 
Old 02-03-2003, 07:16 PM   #9
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
Your isp may be blocking port 80 so you cannot run a server

you can set it up for another port and try it


try http://localhost on the server, if it works it's probably your isp.

If you have a local network try it there.

Last edited by DavidPhillips; 02-03-2003 at 07:21 PM.
 
Old 02-04-2003, 10:51 AM   #10
KevinJ
Member
 
Registered: Feb 2001
Location: Colorado Springs, CO
Distribution: Redhat v8.0 (soon to be Fedora? or maybe I will just go back to Slackware)
Posts: 857

Original Poster
Rep: Reputation: 30
Well.. it works from the local network, but won't from outside... it does look like my ISP is blocking port 80, but I don't see why they would.

Wouldn't it make more sense for them to block things at the packet level instead of the port?

Thanks for the help,

Kevin
 
Old 02-04-2003, 08:10 PM   #11
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
A lot of them have started doing that. They will not filter packets due to the cpu requirements. It is very easy for them to close all incoming traffic on port 80, and it is effective.
 
  


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 Port 443 Verbal Kint Linux - Software 0 10-04-2005 03:07 AM
"apache startssl" fails: can't bind port 443 mrjamin Linux - Software 4 07-04-2005 11:09 AM
apache mod_ssl not using port 443 davidsrsb Slackware 8 06-07-2005 10:33 AM
Webmin On TCP port 443...but with Apache Mod_ssl installed... ech310n Linux - Networking 6 01-27-2004 04:10 PM
FAVICON with apache server at port 443 doesn't seem 2 work ganninu Linux - General 0 12-21-2003 03:58 AM

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

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