How to find Port number of IP address?

后端 未结 8 932
半阙折子戏
半阙折子戏 2020-12-08 20:23

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?

8条回答
  •  执念已碎
    2020-12-08 21:09

    If it is a normal then the port number is always 80 and may be written as http://www.somewhere.com:80 Though you don't need to specify it as :80 is the default of every web browser.

    If the site chose to use something else then they are intending to hide from anything not sent by a "friendly" or linked to. Those ones usually show with https and their port number is unknown and decided by their admin.

    If you choose to runn a port scanner trying every number nn from say 10000 to 30000 in https://something.somewhere.com:nn Then your isp or their antivirus will probably notice and disconnect you.

提交回复
热议问题