makes externtcpport and externtlsport static variables