Try this:
1. Open the terminal app
2. Type: netstat -an | grep 4000
3. Press Enter.
Explanation:
netstat is a command for displaying network data structures. The "a" flag tell netstat to display all port activity on your computer. The "n" flag tells netstat to display connections as IP addresses instead of symbols, domain names.
"|" is called a pipe. A pipe takes the text output of the first command and sends it to the second command.
grep is a line search tool, it only displays lines of text that contain your search string. In this instance, we tell grep to search for "4000". 4000 is the diablo 2 game port number.
Manuals:
https://www.unix.com/man-page/osx/1/netstat/https://www.unix.com/man-page/osx/1/grep/Hope this helps.
P.S. You should never execute commands that you don't understand in your terminal app. This is very dangerous as an attacker could do harm to your computer, destroying your data or worse. This is why I included explanations and manual references. Be safe and understand what commands you are executing.
This post was edited by drinkwater on Jun 22 2019 03:41pm