iis-express

Why and how to fix? IIS Express “The specified port is in use”

这一生的挚爱 提交于 2019-11-26 13:09:56
问题 We know a random port number is assigned to a web application in Visual Studio. It works fine in my office desktop. But when I pull the code onto my laptop (from VisualStudio.com) and run the web app. I got a message, saying, The specified port is in use Port 10360 is already being used by another application. Recommendations Try switching to port other than 10360 and higher than 1024. Stop the application that is using port 10360. I can fix it using Recommendation #1 by changing the port

Using IIS Express to host a website (temporarily)

心已入冬 提交于 2019-11-26 12:49:40
问题 I have a website (MVC3), which for developement is hosted in IIS Express. (I\'ve run into a bug of Cassini Devserver and had to upgrade...) Now, I\'m wondering, is it possible to let other machines on my local net (behind router) see the site as hosted on my machine? (e.g. If I write http://my.local.ip:port into a browser on the same LAN as I am will the page load?) 回答1: By default IIS Express serves only localhost requests. To serve external requests edit applicationhost.config file (located

How to solve ERR_CONNECTION_REFUSED when trying to connect to localhost running IISExpress - Error 502 (Cannot debug from Visual Studio)?

为君一笑 提交于 2019-11-26 12:39:32
问题 This is running on Windows Server 2008 and used to work several months ago. I am just now using this server again for some dev work with VS. This is live web server used to serve up a few test sites as well. This came up when running Visual Studio, then launching my projects for debugging. Trying to launch any site through localhost:xxxx when IISExpress has been launched (using actual port #\'s in the config to access different sites): This webpage is not available ERR_CONNECTION_REFUSED I

Unable to launch the IIS Express Web server

匆匆过客 提交于 2019-11-26 11:33:21
I have an asp.net MVC 4 solution. When I try to open it using Visual studio 2012, I get following error: Microsoft Visual Studio Configuring Web https://localhost: for ASP.NET 4.5 failed. You must manually configure this site for ASP.NET 4.5 in order for the site to run correctly. Could not find the server https://localhost:44300/ on the local machine. Make sure the local IIS server has been configured to support secure communications. OK Help Although the solution opens. Also, When I try to run it from debug menu, I get following error: Unable to launch the IIS Express Web server. The start

Where is the IIS Express configuration / metabase file found?

馋奶兔 提交于 2019-11-26 11:32:17
Where can the IIS Express configuration / metabase file be found? The configuration file is called applicationhost.config . It's stored here: My Documents > IIS Express > config usually, but not always, one of these paths will work %userprofile%\documents\iisexpress\config\applicationhost.config %userprofile%\my documents\iisexpress\config\applicationhost.config Update for VS2019 If you're using Visual Studio 2019+ check this path: $(solutionDir)\.vs\{projectName}\config\applicationhost.config Update for VS2015 (credit: @Talon) If you're using Visual Studio 2015-2017 check this path: $

IIS Express Immediately shutting-down running site after stopping web application

家住魔仙堡 提交于 2019-11-26 10:16:17
问题 I\'m using visual studio 2012 in the first days when I want to stop application in IDE, application was still running on IIS Express, I could browse and work with running application, but now I can\'t. IIS Immediately shutting-down application if I press stop button. Since I remember I didn\'t make any changes in setting. How should I do that running same as first days. 回答1: I recently faced a similar situation when suddenly my IIS Express stopped right after I stopped debugging. This

Configure IIS Express for external access to VS2010 project

旧巷老猫 提交于 2019-11-26 09:56:05
I am developing a project in VS2010 and am able to view my site locally via IIS Express. I would like to enable external access over the network. All my research has sent me to this blog entry: http://blogs.iis.net/vaidyg/archive/2010/07/29/serving-external-traffic-with-webmatrix-beta.aspx , which is helpful but does not seem to show how to configure bindings for a project started in visual studio (I cannot find the screen in the screenshots, and I have edited binding info in applicationhost.config, but it does not seem to be reflected when I run the site from visual studio). vikomall 1 After

Starting and stopping IIS Express programmatically

假装没事ソ 提交于 2019-11-26 09:16:14
问题 I am trying to build a small application in C# which should start/stop an IIS Express worker process. For this purpose I want to use the official \"IIS Express API\" which is documented on MSDN: http://msdn.microsoft.com/en-us/library/gg418415.aspx As far as I understand, the API is based (only) on COM interfaces. To use this COM interfaces I\'ve added a reference to the COM library in VS2010 via Add Reference -> COM -> \"IIS Installed Versions Manager Interface\": So far so good, but what\'s

IISExpress returns a 503 error from remote machines

为君一笑 提交于 2019-11-26 09:15:03
问题 I\'m attempting to test a website I have running in a local IISExpress instance with some other machines / devices on my local network. I am running Win7 Pro. When I first attempt to browse to my machine from another machine on my local network segment, I get a 400 error: Hostname is invalid. I understand that I need to grant remote access to the ACL with a command on the elevated command prompt like: netsh http add urlacl url=http://mymachinename:50333/ user=everyone Now I get a 503 service

How do I restore a missing IIS Express SSL Certificate?

折月煮酒 提交于 2019-11-26 09:06:19
问题 After setting up HTTPS in IIS Express, according to such articles as this and this, I am unable to actually load an IIS Express site using HTTPS. In Chrome , I am only getting: This webpage is not available (with error code \"ERR_CONNECTION_RESET\") ...and in IE I am only getting: Internet Explorer cannot display the webpage ...when I follow the directions in those articles. It appears this has to do with the fact that the \"IIS Express Development Certificate\" that IIS Express installs