Answer the question
In order to leave comments, you need to log in
Visual Studio + IIS Express. How do I configure IISExpress to allow requests from other IPs?
Good afternoon!
I am compiling a small application on NET Core as an API web service.
Accordingly, testing takes place using ISS Express.
I need to send POST requests from other IPs to myself. I so understood by default IIS Express does not pass to itself?
I tried what I found on the internet:
netsh http add urlacl url=http://10.10.10.10:16095 user=Все
netsh http add urlacl url=https://10.10.10.10:44361 user=Все
{
"$schema": "http://json.schemastore.org/launchsettings.json",
"iisSettings": {
"windowsAuthentication": false,
"anonymousAuthentication": true,
"iisExpress": {
"applicationUrl": "http://10.10.10.10:16095",
"sslPort": 44361
}
},
"profiles": {
"IIS Express": {
"commandName": "IISExpress",
"launchBrowser": true,
"launchUrl": "api/values",
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
}
},
"WebApplication9": {
"commandName": "Project",
"launchBrowser": true,
"launchUrl": "api/values",
"applicationUrl": "https://localhost:5001;http://localhost:5000",
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
}
}
}
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question