MVC URL在生产中返回404

时间:2019-08-30 13:39:54

标签: asp.net-mvc iis windows-server-2016

我已经在服务器上部署了2019-08-30 13:10:41,716:INFO:root:Using proxy '37.201.115.94:80' ... 2019-08-30 13:10:41,811:INFO:root:Using proxy '212.117.86.172:55455' ... 2019-08-30 13:10:41,864:INFO:root:Using proxy '37.201.115.94:80' ... 2019-08-30 13:10:42,094:INFO:root:Using proxy '37.201.115.94:80' ... 2019-08-30 13:10:43,002:INFO:root:Using proxy '37.120.21.137:50379' ... 2019-08-30 13:10:45,032:INFO:root:Using proxy '80.149.121.126:8080' ... 2019-08-30 13:10:45,072:INFO:root:Using proxy '212.117.86.172:55455' ... 2019-08-30 13:10:45,233:INFO:root:Using proxy '89.27.165.167:8080' ... 2019-08-30 13:10:45,617:INFO:root:Using proxy '89.27.165.167:8080' ... 2019-08-30 13:10:45,822:WARNING:urllib3.connectionpool:Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f5b672f4080>: Failed to establish a new connection: [Errno 111] Connection refused',)': /session/175ce1981a369f6af0ac28924ea8a3e9/url 2019-08-30 13:10:45,824:WARNING:urllib3.connectionpool:Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f5b672f4b00>: Failed to establish a new connection: [Errno 111] Connection refused',)': /session/175ce1981a369f6af0ac28924ea8a3e9/url 2019-08-30 13:10:45,825:WARNING:urllib3.connectionpool:Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f5b676a5f98>: Failed to establish a new connection: [Errno 111] Connection refused',)': /session/175ce1981a369f6af0ac28924ea8a3e9/url 2019-08-30 13:10:45,827:WARNING:urllib3.connectionpool:Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f5b672b0a90>: Failed to establish a new connection: [Errno 111] Connection refused',)': /session/175ce1981a369f6af0ac28924ea8a3e9 2019-08-30 13:10:45,827:WARNING:urllib3.connectionpool:Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f5b672b0b00>: Failed to establish a new connection: [Errno 111] Connection refused',)': /session/175ce1981a369f6af0ac28924ea8a3e9 2019-08-30 13:10:45,828:WARNING:urllib3.connectionpool:Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f5b672b0240>: Failed to establish a new connection: [Errno 111] Connection refused',)': /session/175ce1981a369f6af0ac28924ea8a3e9 应用程序,但是它无法正常工作。当我像ASP.Net MVC一样访问它时,它说<server_ip>/controller/action而不作进一步描述。然后,我将404 - Not found文件添加到了根目录中,以验证我是否正确托管了该应用程序,并尝试将URL设置为index.html,然后它可以工作。我需要额外的配置以使我的应用程序在MVC中运行吗?

0 个答案:

没有答案