How to find Port number of IP address?

后端 未结 8 936
半阙折子戏
半阙折子戏 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:11

     domain = self.env['ir.config_parameter'].get_param('web.base.url')
    

    I got the hostname and port number using this.

提交回复
热议问题