Problems with Apache2

bill purvis bil at beeb.net
Sat Oct 27 15:41:04 UTC 2007


On Saturday 27 October 2007, Bill Moseley wrote:
>
> Is it really listening for connection?
>
> netstat -lt will show what ports are listening and on what interfaces.
>
> sudo netstat -ltp will show the associated processes

I knew there was a command to do that, but it's been so long I'd
forgotten what it was:

$ netstat -ltp
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       
PID/Program name   
tcp        0      0 localhost:2208          *:*                     LISTEN     
4738/hpiod          
tcp        0      0 *:www                   *:*                     LISTEN     
6786/apache2        
tcp        0      0 localhost:2207          *:*                     LISTEN     
4743/python         

Looks plausible to me.

Hal wrote:
> What command are you using?

	felix $ telnet localhost 80
	Trying 127.0.0.1...

no further response. Eventually killed with ^C

> Are there any firewall rules or security packages installed?
iptables is, but looks benign:

root at felix:# iptables --list
Chain INPUT (policy ACCEPT)
target     prot opt source               destination         

Chain FORWARD (policy ACCEPT)
target     prot opt source               destination         

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination         
r

I don't really need it as I have iptables set up on my
front-end server to protect me.
It's obviously part of the standard 'desktop' installation.

Bill
-- 
+---------------------------------------+
| Bill Purvis, Amateur Mathematician    |
|  email: bil at beeb.net                  |
|  http://bil.members.beeb.net          |
+---------------------------------------+




More information about the ubuntu-users mailing list