web app builder not working in local host

5167
19
Jump to solution
02-07-2019 05:54 AM
khaniqbal
New Contributor

i make a application with web app builder 2.11 (developer edition).when i run bat file its working but when i download  & deploy in localhost its give a error in browser (ERR_CONNECTION_REFUSED).first time i am using WAB,i am using win7.

0 Kudos
19 Replies
khaniqbal
New Contributor

this is console errors log

0 Kudos
RobertScheitlin__GISP
MVP Emeritus

Khan,

  Open the apps config.json in the main folder in a text editor and change the "portalUrl": to a http url instead of https.

Also add the woff and woff2 mime types to your web server.

https://manage.accuwebhosting.com/knowledgebase/2443/How-to-set-MIME-types-for-web-fonts-in-IIS.html 

khaniqbal
New Contributor

thanks both errors fixed. now another one error.how can fix?

0 Kudos
khaniqbal
New Contributor

Thanks my problem is solved.

0 Kudos
RobertScheitlin__GISP
MVP Emeritus

Don't forget to mark this question as answered by clicking on the "Mark Correct" link on the reply that answered your question.

0 Kudos
rajaparlindungan
New Contributor

how to solve this problem?

0 Kudos
RolandoFernandez
New Contributor III

Hello Robert, I'm unable to use WAB. It just get stuck on this screen when I try to create a new app.

wab bug.png

I already asked for help to the Esri represents that sell us the license in my country (Venezuela) but I have been waiting their answer for more than a month.

I got a Creator user and a GISPro Basic license, with any of those users I'm unable to use WAB.

I already tried with different browsers, eliminate cache, and enable pop up and cookies.

I hope you or someone in the Esri community can help me with this.

Thank you in advance.

0 Kudos
AndresCastillo
MVP Regular Contributor

Robert Scheitlin, GISP Champion , am I right in thinking that NodeJS as a web server deploys WAB Dev Ed. apps only within the same network connection?

In other words, it wont serve the apps out like IIS would over public ip's.

For example, I wouldn't be able to access the apps served out by the NodeJS web server that's on my local network from my mobile device carrier's network.

I would need IIS for this desired behavior.

RobertScheitlin__GISP
MVP Emeritus

Andres,

   Yes that is correct NodeJS web server will only work on the same network. You need IIS on a web server that has a publicly accessible IP.

PradeepNagu
New Contributor

Hi all i'm new to ESRI Arcgis
I created the web app using the web app builder developer edition and i deploy on local windows IIS and hitting the URL  it throwing the Error of CORS Policy.Even i added the Access-Control-Allow-Origin:* header response could please anyone help me out what should i do. 

Thanks in advance.

PradeepNagu_0-1704969362536.png

 

0 Kudos