Find process running on port: Difference between revisions
Jump to navigation
Jump to search
→Commands
(→相關資料) |
|||
| Line 1: | Line 1: | ||
== Commands == | == Commands == | ||
* {{Win}} {{kbd | key=<nowiki>netstat –na | find "4444"</nowiki>}} | * {{Win}} {{kbd | key=<nowiki>netstat –na | find "<PORT>"</nowiki>}} e.g. {{kbd | key=<nowiki>netstat –na | find "4444"</nowiki>}} or {{kbd | key = <nowiki>netstat -a | find "3306"</nowiki>}} (note: require the '''double quote''' symbol, not single quote symbol) for {{Win}}<ref>[http://technet.microsoft.com/en-us/library/bb490947.aspx Netstat]</ref> | ||
* {{Mac}} | * {{Mac}} | ||
** {{kbd | key=<nowiki>netstat -vanp tcp | grep 4444</nowiki>}} or | ** {{kbd | key=<nowiki>netstat -vanp tcp | grep 4444</nowiki>}} or | ||