当前位置:   article > 正文

IIS网站只能通过localhost访问,IP和主机名都不行_iis localhost可以访问 ip不能访问

iis localhost可以访问 ip不能访问

IIS Website Can Only Access by localhost

从一台机复制出另一台的时候,发现IIS的网页只能通过localhost访问,IP和hostname都不行。

Event log发现还去绑定原来那台机。

Unable to bind to the underlying transport for 192.168.33.1:443. The IP Listen-Only list may contain a reference to an interface which may not exist on this machine.  The data field contains the error number.
  • 1

重新绑定一下就可以。

netsh http show iplisten

IP addresses present in the IP listen list:
-------------------------------------------

    192.168.33.1
    127.0.0.0
    127.0.0.1


netsh http delete iplisten ipaddress=192.168.33.1
IP address successfully deleted

netsh http add iplisten ipaddress=192.168.33.2
IP address successfully added


netsh http show iplisten

IP addresses present in the IP listen list:
-------------------------------------------

    192.168.33.2
    127.0.0.0
    127.0.0.1
    
    
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/神奇cpp/article/detail/860292
推荐阅读
相关标签
  

闽ICP备14008679号