节点js部署的应用404您正在寻找的资源已被删除,名称已更改或暂时不可用. [英] node js deployed app 404 The resource you are looking for has been removed, had its name changed, or is temporarily unavailable.

查看:96
本文介绍了节点js部署的应用404您正在寻找的资源已被删除,名称已更改或暂时不可用.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个使用Web应用程序资源部署的Node js应用程序

https://lapr5orders.azurewebsites.net/item

https://lapr5orders.azurewebsites.net/orders

我可以在localhost中访问这两个URL,但是当我尝试使用已部署的应用程序时,我只能访问第二个URL.我可以提供您需要的任何代码.我也有一个标准的web.config文件.它给我404" The 您正在寻找的资源已被删除,名称已更改或暂时不可用."当我尝试访问第一个URL时.谢谢您的帮助.

解决方案

听起来好像所有必需文件都未部署.您是否尝试过重新部署站点或使用kudu验证/item的站点文件是否存在? (sitename.scm.azurewebsites.net)


I have a node js app deployed using web app resources 

https://lapr5orders.azurewebsites.net/item

https://lapr5orders.azurewebsites.net/orders

I can access both of these URLs in localhost but when i try to use the app deployed I can only access the second one. I can provide any code that you need. I also have a standard web.config file . It gives me 404 "The resource you are looking for has been removed, had its name changed, or is temporarily unavailable." when I try to access the first URL. Thanks for the help.

解决方案

It sounds like all of the required files may not have been deployed. Have you tried redeploying your site or using kudu to verify the site filess for /item are there? (sitename.scm.azurewebsites.net)


这篇关于节点js部署的应用404您正在寻找的资源已被删除,名称已更改或暂时不可用.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆