Calculate the server's network traffic for each port.