I have a windows system with;
cordova 7.0.1
ionic 3.3.0
npm 3.10.8
gulp 3.9.1
I am trying to configure Ionic Serve to localhost and not the 0.0.0.0 default as it returns an Access Denied error. In a previous version I was able to add
"ank": "...",
"versionCheck": 1413143560174,
"ionicServeAddress": "localhost"
to the ionic config.file but that seems to not do anything. In addition i have tried doing ionic address to change it but that does not appear to be an option.
Is there a way to configure the default address without adding it in the ionic serve command?
EDIT .ionic/config.json
{
"ank": "...",
"versionCheck": 1413143560174,
"ionicServeAddress": "localhost",
"lastCommand": "2017-06-05T22:15:31.825Z",
"urls": {
"api": "https://api.ionic.io",
"dash": "https://apps.ionic.io"
},
"user": {},
"tokens": {
"appUser": {},
"telemetry": "afac6034-bb58-4e95-9f1f-035a90625f05"
},
"cliFlags": {
"confirm": false,
"interactive": true,
"telemetry": true,
"yarn": false,
"timeout": true
}
}
I have a gulp task which runs
ionic serve
Basic flow of the gulp serve command
deploy:watch (start)
clean:dest
preproccess (various)
gulp-notify: Generate bundle.js
copy: (various)
watch: (various)
deploy:watch (finish)
serve
Starting server: --port=8100 --p=8100 --livereload-port=35729 --r=35729 --address=0.0.0.0