Connecting to a local Windows host (IIS) from another computer

I have a laptop running Windows Vista running IIS7 for its localhost. On this machine, I can successfully go to:

  • "HTTP: // local"
  • "http://127.0.0.1"
  • "Http: // mycpuname"

However, I cannot access this localhost site from another computer on the same network. Ideally, I could visit "http: // mycpuname" (so that I can hardcode the connection), but at this point I can agree to the IP address of the machine (http://192.000.000.xyz)

I saw similar questions asked here and elsewhere on the Internet ... but none of the posts seem to fix the issue for me.

Things I tried: - adding exceptions from the Windows firewall to allow TCP ports 80 and 8080 - completely disabling the Windows firewall - running netsh commands in this post

In addition, I look at the IP address on a Windows laptop by running "ipconfig" from the command line. Oddly enough, trying to access "http://192.000.000.xyz" from a Windows laptop doesn't seem to work ...

I also tried restarting IIS and restarting my machine.

reference

+5
source share
4 answers

Go to the Windows Firewall with Advanced Security, inbound rules, and check if World Wide Web Services is enabled. I had the same issue and this fixed it for me.

+6
source

netstat -na - , IP- -.

127.0.0.1, loopback, - / ( *.*.*.*, 0.0.0.0 - , - -).

, , netstat , - *.*.*.* 0.0.0.0, , , - , - .

+4

127.0.0.1?

netstat -an |findstr :80 |findstr LISTEN

127.0.0.1, IIS 0.0.0.0

+3

If you want to access your site from any other computer on the local network, you just need to enter the IP address and port of the network. If you want to access it from the Internet, you need to configure your IP address.

-3
source

All Articles