ciao!
ho finito di creare la mia web api.
in VS avevo modificato il launchSettings.json per cambiare la porta di default:
ho copiato l'eseguibile sul server e funziona.codice:{ "$schema": "http://json.schemastore.org/launchsettings.json", "iisSettings": { "windowsAuthentication": false, "anonymousAuthentication": true, "iisExpress": { "applicationUrl": "http://localhost:8080", "sslPort": 0 } }, "profiles": { "IIS Express": { "commandName": "IISExpress", "launchBrowser": true, "launchUrl": "cr/", "environmentVariables": { "ASPNETCORE_ENVIRONMENT": "Development" } }, "CimodaService2": { "commandName": "Project", "launchBrowser": true, "launchUrl": "weatherforecast", "applicationUrl": "http://localhost:5000", "environmentVariables": { "ASPNETCORE_ENVIRONMENT": "Development" } } } }
solo che parte su http://localhost:5000.
invece dovrebbe stare in ascolto su http://194.1.1.253:8080.
come posso modificare questa impostazione dopo la pubblicazione??

Rispondi quotando