mac view port occupancy

 

Command lsof -i tcp:port (replace port with the port number, such as 6379)

 

Reference link

 

Guess you like

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