netstat to view the number of TCP connections on a port or ip address

Netstat is generally used to check the network connection status, such as how many TCP connections and how many UDP connections.


The following commands can check the TCP connection status, including connection status, process ID, and which program is executed, which can be filtered with grep.

For example:
netstat -anlpt|grep 40.74

with ps -ef | grep content or tomcat6s tool can check which application is causing it. See http://825635381.iteye.com/blog/2342819 for details on the





naming of netstat






Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326467843&siteId=291194637