The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Special Forums > IP Networking
Google UNIX.COM



View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #7 (permalink)  
Old 02-16-2007
infierno's Avatar
infierno infierno is offline
Registered User
 

Join Date: Jul 2005
Location: Asuncion, Paraguay
Posts: 79
You can try, on linux,
Code:
 # netstat -lpn | grep httpd
.. if you know that the server is httpd (apache), there you can figure out what ports and address has apache bound to as well as process' pid.

on freebsd systems try
Code:
# sockstat -ln | grep httpd
Reply With Quote