fix a minor bug for safe port in intranet.