LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-08-2002, 05:42 PM   #1
Druaga
Member
 
Registered: May 2002
Location: Canada
Distribution: Slackware
Posts: 111

Rep: Reputation: 15
apache cant connect


I have redhat 7.2 with squid and apache running on it.
I cant get to my webstie hosted by apache from any external computer (i can reach it from my local computers in my network).
I looked at the error log of Apache and it says that it couldnt bind to port 80 because something else was using that port.
I did netstat -a and it shows that something is doing something on my http port. I did "netstat -p | grep http" to find the PID, but it didnt show anything, i also did "netstat -p" and it didnt show that port numbers (or names) which the processes were connected to. I am not sure what else could be using port 80, because i have installed a bare minimum in that computer, it basically just squid and apache. Got any ideas?
 
Old 05-08-2002, 07:33 PM   #2
kill-hup
Member
 
Registered: Aug 2000
Location: NY - USA
Distribution: Slackware
Posts: 109

Rep: Reputation: 15
You might want to try lsof, a tool for showing files and sockets that are in use by processes. It should help you figure out which process has grabbed port 80.

You can obtain lsof from:

ftp://vic.cc.purdue.edu/pub/tools/unix/lsof/
 
  


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
Cannot Connect to Apache 2.0 on LAN rlafountain Linux - Newbie 6 07-22-2005 04:39 PM
Apache 2 problem , cant connect from other pc PEACEYALL Linux - Software 3 07-17-2005 06:05 AM
APACHE All connect? drache777 Linux - Networking 6 03-17-2005 11:58 AM
Apache 1.3 - can't connect externally slightcrazed Linux - Software 2 02-03-2004 10:16 AM
apache - cant connect. port already in use... gene_gEnie Linux - Networking 13 04-17-2002 07:59 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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