I'm finding problems using port 465. I know linux has a command to see what programs are binding to what ports. Just can't remember what the command is?
I'm finding problems using port 465. I know linux has a command to see what programs are binding to what ports. Just can't remember what the command is?
Michael
I'll reply to my self - netstat!
Michael
or
lsof -i :<port number>
Hi,
simple command is nmap as mentioend below:
Scans all port and list it. It also tries to determine what operating system is running on each host that is up and running.nmap -sS -O <IP/host>
There are many ways to find the port and maped services. I would suggest you nmap, if you will use this with proper parameter combination it will shows you the list of open ports with programs bind with it alon with program version.
In reverse you can also check the which port is using which pid with the help of fuser commandnmap -sS -O -sV <IP/host>
shows the list of PID used by httpd process.# fuser http/tcp
netstat is also good shows network statastics.
thx
Linux Web Administrator Guide
Optimize, secure and performance tunning for Apache || MySQL5.1 Cluster How To
The visionary conceives the impossible, The missionary makes it possible. ...Gita.
Actually "netstat -p" so you can see what program is running on what port.Originally Posted by rs-freddo
nmap as mentioend above will provide you descriptive output of running program on which port!
Linux Web Administrator Guide
Optimize, secure and performance tunning for Apache || MySQL5.1 Cluster How To
The visionary conceives the impossible, The missionary makes it possible. ...Gita.
nmap might not be installed on all boxes in standard setup, netstat usually is - but check out http://insecure.org/nmap/download.html for download, install instructions.