Suggest a feature
×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: Bash
Posted by: Mandisi Makwakwa
Added: Jul 26, 2018 7:59 AM
Modified: Jul 26, 2018 8:46 AM
Views: 6
Tags: no tags
Check Port Availability
  1. lsof -n -i4TCP:8080 | grep LISTEN  #List processes listening to TCP port
  2. netstat -tulnp | grep 8080 #List Port and any corresponding PID