The basic idea is the same but the server key has the advantage that it won't change while the port can change depending on if a client is run, or in which turns the servers got started or a server crashed and restarted while not freeing the port. It just makes it easier for beginners.

MrGamerPros
@MrGamerPros