Base solution for your next web application
Ends in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

Appconfig and appsettings #4896


User avatar
0
paulg created

Are we supposed to change ports when moving to IIS? I have moved the below to IIS (no domain name yet, just testing on the server with localhost), would that work?

Does all the ports used below need to be added in IIS bindings?

src/assets/appconfig.json: "remoteServiceBaseUrl": "http://localhost:22742", "appBaseUrl": "http://localhost:4200", "localeMappings": [

..Web.Host/appsettings.json: "ServerRootAddress": "http://localhost:22742/", "ClientRootAddress": "http://localhost:4200/", "CorsOrigins": "http://localhost:4200,http://localhost:49152"

..Web.Public/appsettings.json: "WebSiteRootAddress": "http://localhost:45776/", "AdminWebSiteRootAddress": "http://localhost:4200/"


1 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @paulg,

    If you are going to use Public website as well, you will need 3 websites on IIS. You can choose the ports as you wish.

    Only the "http://localhost:49152" is added for unit test in development time, so you can ignore it.