Created
March 2, 2014 20:39
-
-
Save sathish-io/9313465 to your computer and use it in GitHub Desktop.
Find process listening at port 8080 on Mac OS X
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Here is the command to find out the process # that is listening at the givne port(say 8080) in on Mac OS X, | |
| lsof -n -i4TCP:8080 | grep LISTEN | |
| this will return below sample o/p, | |
| java 41038 user1 54u IPv6 0x68e4c014dcuy8y0 0t0 TCP *:http-alt (LISTEN) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment