Select to view content in your preferred language

WAB Developer Edition Runs When I Use localhost, But Not Machine.Domain

995
6
07-27-2023 09:55 AM
MattChomicky1
Occasional Contributor

I am able to get WAB Dev to launch in my browser when using localhost:3344/webappbuilder, but not when I try to use machinename.domain:3344/webappbuilder. This is a problem because when I use localhost I cannot connect to my org's AGOL URL (Unable to access, a server with the specified hostname could not be found error). I am led to believe this is because of  CORS settings in the admin settings - my app connection has been approved and my machine name added to the list of Allow origins, but localhost has not.

When I try to launch using my machine name I just get a "This site can't be reached" with DNS_PROBE_FINISHED_NXDOMAIN error.

0 Kudos
6 Replies
KenBuja
MVP Esteemed Contributor

In the item that contains your appId, did you add a redirect URL for your machinename.domain?

0 Kudos
MattChomicky1
Occasional Contributor

I did do that

MattChomicky1_0-1690481617657.png

 

0 Kudos
KenBuja
MVP Esteemed Contributor

Is that the same URL as the device name found in the System property page?

0 Kudos
MattChomicky1
Occasional Contributor

Yes it is the same

0 Kudos
KenBuja
MVP Esteemed Contributor

Finally, what is the URL at the top of the Web Mapping Application section?

0 Kudos
MattChomicky1
Occasional Contributor

MattChomicky1_0-1690485181812.png

 

0 Kudos