I installed iis on Windows to host a test website, but it's shared to everyone on the network. Is there a way to disable this so it is not shared to any other computers?
Asked
Active
Viewed 120 times
10
-
1What is shared? The PC? IIS? The network? – Anthony Fornito Dec 12 '16 at 15:01
-
The web server is visible from anywhere on the network. – stackers Dec 12 '16 at 15:03
-
1There are several options. The easiest is that you edit the IIS bindings to only listen on localhost. – Tim Brigham Dec 12 '16 at 15:05
1 Answers
10
The best option would be to go into windows firewall
If it is disabled, enable it:
Find all inbound rules on local port 80 and disable them.
Set your bindings in iis to websitename:80
Open your hosts file and and local-ipaddress websitename
That should do it.
To test this from any other pc run:
netstat local-ipaddress 80

Anthony Fornito
- 9,546
- 1
- 34
- 124