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.
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
Hi all i'm new to ESRI ArcgisI 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.
IIS is working properly , my other apps working but WAB downloaded file from my app not working , i test it another machine only blue loading page display & map not showing. Don't know why? I just copy downloaded extracted files to wwwroot folder. I am on trial licence.
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.
NodeJS is packaged with WAB Dev, you do not have to do anything on your own for that. So you say IIS is installed on your machine so when you go to http://localhost you get an image like this?
Robert Scheitlin, GISP , 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.
Robert, IIS is installed & i deployed my app to inetpub\wwwroot folder.. but i not install Node.js in my machine.
When you run your WAB app in WAB Dev it uses NodeJS for a web server. When you deploy the app to your machine you need to be sure you have a web server installed. In your case you need to be sure IIS is installed on your Windows 7 machine and you are deploying the app to your IIS inetpub\wwwroot folder.
Přihlášení členové mohou přispívat, sledovat aktualizace a další. Jste tu noví? Zaregistrujte si bezplatný účet.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.