How to get list of ports which are in use on the server?

Edit
Report