Read more about the article How to Check port is Listening or currently Use in Linux