Server: use constants to get port configuration