Navigation

Monday, March 09, 2015

How to enable remote access to IIS Express web sites

When developing web services with windows phone applications and using the emulator, Visual Studio provides a rich and integrated development environment.  However, once you move to a physical device, such as a windows phone 8.1 device, for additional testing, you might run into an issue with the device accessing the web service within the IDE.

While you could configure IIS to expose the site you would not have an integrated debugging environment.  However, IIS Express can be configured to expose the IDE website to remote (external) devices.

1.  Turn off or configure windows firewall to allow access to the selected website project port.  You can locate this in the projects properties under web.

image

2.  Navigate to the IIS Express applicationhost.config file. (%HOMEPATH%\Documents\IISExpress\config\applicationhost.config)

3. Find the website you working with (search for the configured port) and add the highlighted line changing localhost to the local ip address that the remote device will use to access the web site.

image

4.  Make sure that you run Visual Studio as an administrator.

8 comments:

technode said...

Nice,thanks for sharing ,presented well,keep updating morebest institute for redhat linux in chennai|best institute for rhce in chennai|red hat certification in chennai|rhcsa training in chennai|red hat linux course fees|rhce certification in chennai|ccna training in chennai

johnsy sai said...

I found your blog while searching for the updates, I am happy to be here. Very useful content and also easily understandable providing.. Believe me I did wrote an post about tutorials for beginners with reference of your blog. 
excel advanced excel training in bangalore
Devops Training in Chennai

janani said...

Impressive. Your story always bring hope and new energy. Keep up the good work.

Java training in Chennai | Java training institute in Chennai | Java course in Chennai

Java training in Bangalore | Java training institute in Bangalore | Java course in Bangalore

Java online training | Java Certification Online course-Gangboard

Java training in Pune

Mounika said...

Excellent blog, I wish to share your post with my folks circle. It’s really helped me a lot, so keep sharing post like this
python training in chennai
python course in chennai
python training in bangalore

jeyanthi said...

From your discussion I have understood that which will be better for me and which is easy to use. Really, I have liked your brilliant discussion. I will comThis is great helping material for every one visitor. You have done a great responsible person. i want to say thanks owner of this blog.
Data Science training in chennai | Best Data Science training in chennai
Data Science training in OMR | Data science training in chennai
Data Science training in chennai | Best Data science Training in Chennai
Data science training in velachery | Data Science Training in Chennai
Data science training in tambaram | Data Science training in Chennai
Data Science training in anna nagar | Data science training in Chennai

SRI said...

Wow it is really wonderful and awesome thus it is very much useful for me to understand many concepts and helped me a lot. it is really explainable very well and i got more information from your blog.

best rpa training in chennai
rpa training in chennai
rpa interview questions and answers
automation anywhere interview questions and answers
blueprism interview questions and answers
uipath interview questions and answers
rpa training in bangalore

SANDY said...



I’m planning to start my blog soon, but I’m a little lost on everything. Would you suggest starting with a free platform like Word Press or go for a paid option? There are so many choices out there that I’m completely confused. Any suggestions? Thanks a lot.
Best AWS Training in Marathahalli | AWS Training in Marathahalli
Best AWS Amazon Web Services Training in Chennai | Best AWS Training and Certification for Solution Architect in Chennai
Amazon Web Services Training in Anna Nagar, Chennai |Best AWS Training in Anna Nagar, Chennai

Inigo joseph said...

This is quite educational arrange. It has famous breeding about what I rarity to vouch. Colossal proverb. This trumpet is a famous tone to nab to troths. Congratulations on a career well achieved. This arrange is synchronous s informative impolites festivity to pity. I appreciated what you ok extremely here 
Python Online training
python Training in Chennai
Python training in Bangalore