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?
IP
domain name
URL
Port
Use of the netstat -a command will give you a list of connections to your system/server where you are executing the command.
netstat -a
For example it will display as below, where 35070 is the port number
TCP 10.144.0.159:**52121** sd-s-fgh:35070 ESTABLISHED