ServerBSD# sockstat -4 | less
USER COMMAND PID FD PROTO LOCAL ADDRESS FOREIGN ADDRESS
nobody hiawatha 2088 3 tcp4 *:80 *:*
nobody hiawatha 2088 4 tcp4 61.59.78.41:56117 10.0.0.101:2005
www php-cgi 2066 0 tcp4 61.59.78.41:2005 *:*
root sshd 1782 3 tcp4 61.59.78.41:22 99.152.34.147:25323
root sshd 1683 3 tcp4 61.59.78.41:22 *:*
mysql mysqld 1645 14 tcp4 127.0.0.1:3306 *:*
root ntpd 722 20 udp4 *:123 *:*
root ntpd 722 22 udp4 61.59.78.41:123 *:*
root ntpd 722 25 udp4 127.0.0.1:123 *:*
root syslogd 508 7 udp4 *:514 *:*
FastCGIserver {
FastCGIid = PHP5
ConnectTo = 192.168.1.155:2005
Extension = php
}
Server = /usr/local/bin/php-cgi ; 127.0.0.1:9000 ; www ; /usr/local/etc/php.ini
FastCGIserver {
FastCGIid = PHP5
ConnectTo = 127.0.0.1:2005
Extension = php
}
Server = /usr/local/bin/php-cgi ; 127.0.0.1:2005 ; www ; /usr/local/etc/php.ini