Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'm not sure if I should ask this question here or not. However... I'm using Windows 8 with VS 2012 and IIS-express 8 that is installed via VS. I mean when I was installing VS, it installed IIS and when I run a project, VS itself, runs IIS and when close VS, IIS will be closed too. In the other hand, I used Microsoft Hyper-V to install a Windows XP on my machine. My question is: how can I configure IIS to response to requests that come from my Windows XP? Is it possible? I mean when I run a web-project in VS and IIS got run, I want to be able to see my pages inside the XP too.

share|improve this question
    
It sounds like you're running in an IIS test environment through Visual Studio. When you execute your project and it opens locally in a browser, is there a port number at the end of the URL? In a browser on your XP machine, try the IP of your VS/IIS computer with that port number. There may be settings in the firewall, Web.config, or VS that you'll need to change to allow access from outside of localhost. But someone here with more knowledge of VS/IIS will need to speak to that. –  trpt4him Apr 10 '13 at 16:32
    
Yes there is port number. I tried it (from virtual machine and also from other computers on may LAN) but IIS did not response. I searched in firewall and VS. But I couldn't find any configuration section to solve this. It seems IIS itself needs to be configured, but while it's installed via VS (not a standalone app), I cannot find it's configuration. –  Javad_Amiry Apr 10 '13 at 16:44

1 Answer 1

up vote 1 down vote accepted

These stackoverflow questions address the same issue:

Solutions from those cases:

Edit applicationhost.config file, your site bindings should like below;

<binding protocol="http" bindingInformation="*:8080:localhost" />
<binding protocol="http" bindingInformation="*:8080:your-machine-name" />
share|improve this answer
    
Thanks but sorry, it seems you are not familiar with VS and IIS. When I create a new web-project, VS creates a new virtual directory for it, and runs the project on IIS-express automatically. I'm using VS 2012 and IIS 8 express. –  Javad_Amiry Apr 10 '13 at 19:02
    
@Javad_Amiry I am pretty familiar with VS having developed with it for 10+ years. However you are correct that I am not familiar with IIS-Express (just read this good writeup). I did also find the solution to your problem and will update my answer. –  Brad Patton Apr 10 '13 at 19:13
    
I'm sorry, I hadn't any bad point, you have all my respects. Thanks to the solution, I'll try it just now. Regards. –  Javad_Amiry Apr 10 '13 at 20:13
    
It works. Thanks –  Javad_Amiry Apr 10 '13 at 22:14
1  
No problem. Glad it worked for you. –  Brad Patton Apr 10 '13 at 22:30

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.