Their are two commands to look at
fuser and netstat
fuser will help in looking for port conflicts.
something like fuser -n tcp 80 would tell you what app is already using port 80.
netstat will list it all our for you.
netstat -nlp will give you programs, ports, and PIDS.
Both of these can be very useful. The main reason I have it posted on my blog is so I can stop forgetting these commands!
No comments:
Post a Comment