By default, the 7 Days to Die dedicated server uses port 26900 TCP/UDP. However, you can use any value between 26900 and 26905. For a local network, it uses port 27015 to 27020 TCP/UDP.