Viewing my IIS hosted site on other machines on my network

前端 未结 11 1641
情话喂你
情话喂你 2020-12-02 05:59

At home I have a simple network setup containing 2 machines.

On one machine i have a site hosted with IIS7. Rather than the standard localhost/index.htm

11条回答
  •  挽巷
    挽巷 (楼主)
    2020-12-02 06:25

    Very Late Answer but I will highlight some point as I had to deal with it years ago setting up my IIS site across network

    1. Both your machines should be connected to the same network (same wireless network is fine)
    2. Access your remote machine via IP 168.192.x.x or via http://his-pc-name (do not forget the http part)
    3. This will server the default IIS page on the remote machine (same that is served through localhost). If you want to server another site, [you have to make that default] first1.

    Make sure your IIS is working fine on remote machine by checking localhost which should served the default site. Also make sure your firewall is configured to allow connection via port 80 or you can just disable firewall for the time being for testing purposes.

提交回复
热议问题