After I entered http://api.plamobi.com:3497/
instead of http://localhost:3497/
into App URL
field in project properties, I get Unable to connect to web server 'IIS Express'
Resolved by using the workaround from http://stackoverflow.com/questions/35675747/asp-net-5-mvc-unable-to-connect-to-web-server-iis-express/36801686
But it is weird, error is absolutely non informative.
Here is the solution for this problem:
http://overengineer.net/fixing-unable-to-connect-to-web-server-iis-express
How do you connect to an IP address?
Yes, that works.
Now I run Visual Studio from admin so that it launch IIS Express from admin and it could bind IP or domain.
But Visual Studio behavior is very contra intuitive
@bill
This issue is being closed because it has not been updated in 3 months.
We apologize if this causes any inconvenience. We ask that if you are still encountering this issue, please log a new issue with updated information and we will investigate.
So was error message updated to more clear?
@xperiandri Visual Studio is smarter now (VS2017 15.7 Preview 2 at least) to force update applicationHost.config
whenever relevant files (such as launchSettings.json
) are changed. That should remedy most errors caused by their out-of-sync.
I am also updating Jexus Manager Visual Studio Project Diagnostics tool to provide better reporting and automatic analysis,
https://www.jexusmanager.com/en/latest/tutorials/vs-diagnostics.html
@lextm
Visual Studio is smarter now
No, no it is not. I'm using VS2019 ... and this problem still persists in 2019
I confirm about 2019
(edit : created a new issue as adviced by @tratcher)
Comments on closed issues are not tracked, please open a new issue with the details for your scenario.
Most helpful comment
@lextm
No, no it is not. I'm using VS2019 ... and this problem still persists in 2019