【发布时间】:2019-05-21 19:21:49
【问题描述】:
我正在运行的登录页面托管在端口 49918 上,我无法使用其他端口。应用程序可在 4200 等其他端口范围内运行。
尝试全局安装 Angular cli
netstat -ano | findStr :49918
Dev: {
authority: 'https://dev-im.com',
client_id: 'APC',
redirect_uri: window.location.origin + '/oidclogin',
silent_redirect_uri: window.location.origin + '/oidcrenew',
post_logout_redirect_uri: window.location.origin + '/oidclogout',
response_type: 'code id_token token',
scope: 'openid email profile api1 offline_access',
filterProtocolClaims: true,
loadUserInfo: true,
automaticSilentRenew: false,
monitorSession: true
}
【问题讨论】:
-
我创建了新的 Angular 应用程序。当我运行
ng serve --o --port 49918。它给了我这个错误。 **监听 EACCES:权限被拒绝 **127.0.0.1:49918 错误:监听 EACCES:权限被拒绝 127.0.0.1:49918 在 Server.setupListenHandle [as _listen2] (net.js:1253:19)在 ListenInCluster (net.js:1318:12) 在 GetAddrInfoReqWrap.doListen [作为回调] (net.js:1451:7) 在 GetAddrInfoReqWrap.onlookup [作为 oncomplete] (dns.js:61:10)
标签: angular angular-cli