An application may be binding multiple sockets to a specific port,how can I get those sockets command line?
Tell me more
×
Server Fault is a question and answer site for
professional system and network administrators. It's 100% free, no registration required.
|
lsof will also provide you with information about open sockets:
|
|||
|
Netstat can provide you this information :
Output shortened for clarity. |
|||
|
If you are using *bsd system (I don't know if it exist for linux and other *nix), there is this socksat command, which does what you are looking for. |
|||
|
|