I have an IIS7 on a Windows 7 Ultimate.
IIS7 works fine on computer hosting IIS7. But I can't access IIS7 from another computer, I get the following message: "server is not responding".
How can I fix this?
I have an IIS7 on a Windows 7 Ultimate.
IIS7 works fine on computer hosting IIS7. But I can't access IIS7 from another computer, I get the following message: "server is not responding".
How can I fix this?
Run the following tests:
Is the computer on the LAN? Firewall issues? Try temporarily disabling the firewall, see if that helps.
Can you ping it? Does it respond? There are many reasons why, please provide us more information but hopefully the above will help.
If you developed your site with WebMatrix, and therefore are running IIS 7 Express, follow these instructions:
By default, WebMatrix binds to localhost, so if you try to use your machine name (i.e. allow other machines on the LAN) to view your site, it won’t work. The reason for this is that IIS Express (the WebMatrix web server) is designed to be run without administration rights. It’s not meant for production environments - it’s meant for simple development environments.
In order to do testing on another computer, you need to therefore make a few minor changes. Firstly, you need to be running WebMatrix as an administrator. To make the change so that WebMatrix runs as an admin by default:
- Close all instances of WebMatrix
- Find the WebMatrix executable (typically in C:\Program Files (x86)\Microsoft WebMatrix\WebMatrix.exe or C:\Program Files\Microsoft WebMatrix\WebMatrix.exe)
- Right click the executable, click properties, click the ‘Compatibility’ tab, and select ‘run as administrator’.
- Click OK.
- Open %USERPROFILE%\My Documents\IISExpress\config\applicationhost.config in notepad
- ctrl+f ), copy and paste the binding entry so that you have two copies, and change one of the bindings to “”
- Save & close the applicationhost.config
- Add a Windows firewall exception for external access to that port
- Launch webmatrix, and test away :)
If it bothers you, you can optionally turn of “User Account Control” on your system to prevent the admin rights prompt from coming up every time you launch the app. Remember to turn it back on later.