How to enable external request in IIS Express?

前端 未结 26 1785
借酒劲吻你
借酒劲吻你 2020-11-22 01:55

How can I enable remote requests in IIS Express? Scott Guthrie wrote that is possible but he didn\'t say how.

26条回答
  •  闹比i
    闹比i (楼主)
    2020-11-22 02:31

    I did the following and was able to connect:

    1) changed IIS express config binding from local host to '*'

    binding protocol="http" bindingInformation="*:8888:*"

    2) Defined inbound rule on firewall to allow the particular port for the protocol type: tcp

    3) Add the following command to add network configuration for your port: netsh http add urlacl url=http://*:8888/ user=everyone

提交回复
热议问题