iis-express

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

无人久伴 提交于 2019-11-27 12:32: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 into something else like 13333. But I am very curious what happened to port 10360. How can I check what

Browse Web Site With IP Address Rather than localhost

╄→尐↘猪︶ㄣ 提交于 2019-11-27 11:23:22
I am using VS2012 with IIS Express and can not seem to browse my web sites using my IP Address. Is there some way to do that? It used to work fine with earlier versions of VS. For example, this address works fine: http://localhost:64651/ But, this address does not work. http://192.168.252.165:64651/ I am sure of the IP Address, since I just got it using ipconfig. Go to your IISExpress>Config folder, locate applicationhost.config . Change <bindings> as below: <bindings> <binding protocol="http" bindingInformation="*:1407:YOUR_IP_ADDRESS" /> </bindings> Before you do this , you will have to

Make Localhost a Custom Domain in IIS Express

不打扰是莪最后的温柔 提交于 2019-11-27 10:51:53
问题 I am using IIS Express in Visual Studio 2010 and right now it runs on localhost:61156. But I need it to run on a domain. Is it possible to make IIS Express to run on devserver.com, instead of localhost:61156? So basically when I run debug I want devserver,com, instead of localhost:61156. I've come across a few things on google, but no luck. Any ideas on how to do this? Thanks! 回答1: Do the following If IIS Express is running stop it Open your webapplication project file (*.csproj or *.vbproj)

Using Fiddler with IIS7 Express

心已入冬 提交于 2019-11-27 10:16:14
问题 I am using IIS7 Express while developing my web application. I need to use fiddler to investigate an issue and cannot figure out how to configure things so I can get the HTTP stream. It seems that IIS7 express will only listen on localhost which means I cannot access the stream. 回答1: This has nothing to do with IIS7 Express and everything to do with the fact that you're using loopback traffic. Ref: https://www.fiddlerbook.com/fiddler/help/hookup.asp#Q-LocalTraffic Click Rules > Customize

Create SDDL failed, Error: 1332

非 Y 不嫁゛ 提交于 2019-11-27 10:14:38
问题 I'm trying to use IIS Express with Visual Studio 2010 SP1. I'm following this tutorial. When I run this command. netsh http add urlacl url=https://Melnibone:443/ user=everyone I get this message: Create SDDL failed, Error: 1332 What's happening? 回答1: Well, I have found the problem. I'm running Windows 7 in Spanish, so the right command is: netsh http add urlacl url=https://Melnibone:443/ user=todos Funny, isn't it? UPDATE : If you want, you can add a comment to this question telling us how it

Visual Studio 2015 Update 1 - No IIS Express Response While Debugging

我的梦境 提交于 2019-11-27 10:10:56
问题 I have an error in my code development environment. I can't solve it and I can't work properly rightnow. Details: I'm working with "Visual Studio 2015 Update 1", "Windows 8.1 ( with latest updates )". I'm launching one webapi2(resource service) and two asp.net mvc applications(backend and frontend) in Visual Studio Start - debug mode. We are using IIS express not local IIS (inetmgr) because my team mates don't want to run solution in it. Here is the start action of one project: The problem is

.vs\config\applicationhost.config in source control

◇◆丶佛笑我妖孽 提交于 2019-11-27 09:33:33
问题 Visual Studio 2015 adds a file named .vs\config\applicationhost.config to the root of a solution when an ASP.NET Web application project is created. Should this file be checked in to source control or should it be ignored (so that each user will have their own local copy)? 回答1: You should ignore .vs folder all together. However, there are cases where you want to persist some config on your applicationhost.config file such as registering FQDN as explained here. For this type of config, you

Exposing localhost to the internet via tunneling (using ngrok): HTTP error 400: bad request; invalid hostname

大城市里の小女人 提交于 2019-11-27 08:55:53
问题 From previous versions of the question, there is this: Browse website with ip address rather than localhost, which outlines pretty much what I've done so far...I've got the local IP working. Then I found ngrok, and apparently I don't need to connect via the IP. What I am trying to do is expose my website running on localhost to the internet. I found a tool that will do this: ngrok. Running the website in visual studio, the website starts up on localhost/port#. I run the command "ngrok http

How can I solve HTTP “404” and “405” error msgs?

北城以北 提交于 2019-11-27 08:05:34
问题 Are HHTP "404" and "405" errors a step in the right direction following "400" Errors? After changing my applicationhost.config file, based on step 3 in this article, from this: <site name="HHS.Web" id="2"> <application path="/" applicationPool="Clr4IntegratedAppPool"> <virtualDirectory path="/" physicalPath="C:\project\git\CStore\HHS.Web" /> </application> <bindings> <binding protocol="http" bindingInformation="*:21608:localhost" /> <binding protocol="http" bindingInformation="*:21608

how to run iisexpress app pool under a different identity

半世苍凉 提交于 2019-11-27 07:48:20
is there a way to run iisexpress app pool under a different identity other than the currently logged in user? I am getting around this problem using the "runas" command currently but I would like to know if there is something built-in to iisexpress that I can utilize. Adam Price It looks like this should be possible. In your IIS Express site's applicationhost.config file, there is a <processModel/> element defined in <applicationPoolDefaults> under <applicationPools> The <processModel> element has attributes for userName and password . From MSDN : Specifies that ASP.NET will run the worker