如何找到IP地址的端口号? [英] How to find Port number of IP address?

查看:36
本文介绍了如何找到IP地址的端口号?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们可以找出域名URLIP地址.但是如何找出托管域名的Port号?

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?

推荐答案

不幸的是标准的 DNS A 记录(域名到 IP 地址)网络浏览器用来定位网络服务器的不包括端口数字.Web 浏览器使用 URL 协议前缀 (http://)确定端口号(http = 80、https = 443、ftp = 21 等)除非在 URL 中特别输入了端口号(例如http://www.simpledns.com:5000"= 端口 5000).

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 (http://) to determine the port number (http = 80, https = 443, ftp = 21, etc.) unless the port number is specifically typed in the URL (for example "http://www.simpledns.com:5000" = port 5000).

我可以在 DNS 中为我​​的网络服务器指定 TCP/IP 端口号吗?(标准端口80除外)

这篇关于如何找到IP地址的端口号?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆