How to find Port number of IP address?

后端 未结 8 935
半阙折子戏
半阙折子戏 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条回答
  •  萌比男神i
    2020-12-08 21:12

    Use of the netstat -a command will give you a list of connections to your system/server where you are executing the command.

    For example it will display as below, where 35070 is the port number

     TCP    10.144.0.159:**52121**    sd-s-fgh:35070   ESTABLISHED
    

提交回复
热议问题