Here are the ports used by Diablo 2. This information is relevant when configuring a firewall, router or QoS.
TCP Ports 6112 and 4000.
If using this information for QOS priority by ports, I recommend setting both ports to highest priority. For more information about using these ports to improve Diablo 2’s network performance, please see this article.