我们可以找到 IP 地址域名或 URL 。但是如何找到承载域名的 Port 号码?
解决方案不幸的是,网络浏览器用于定位Web服务器的标准DNS A记录(IP地址的域名)不包含端口号。 Web浏览器使用URL协议前缀(http://)到确定端口号(http = 80,https = 443,ftp = 21等),除非端口号被特别键入在URL中(例如www.simpledns:5000=端口5000)。
我可以在DNS中为我的网络服务器指定TCP / IP端口号吗? (标准端口80除外)
We can find out IP address of a domain name or URL. But how to find out Port number on which a domain name is hosted?
解决方案Unfortunately the standard DNS A-record (domain name to IP address) used by web-browsers to locate web-servers does not include a port number. Web-browsers use the URL protocol prefix () to determine the port number (http = 80, https = 443, ftp = 21, etc.) unless the port number is specifically typed in the URL (for example "www.simpledns:5000" = port 5000).
Can I specify a TCP/IP port number for my web-server in DNS? (Other than the standard port 80)
更多推荐
如何查找IP地址的端口号?
发布评论