2017-08-06 33 views
0

當我嘗試使用Web Deploy(Visual Studio的2017年對於Windows)在Azure主辦的Linux應用服務出現以下錯誤發佈:發佈ASP.NET 1.1的核心爲基於Linux的應用程序服務

Could not connect to the remote computer ("my-linux-api.scm.azurewebsites.net") using the specified process ("Web Management Service") because the server did not respond. Make sure that the process ("Web Management Service") is started on the remote computer. Learn more at: http://go.microsoft.com/fwlink/?LinkId=221672#ERROR_COULD_NOT_CONNECT_TO_REMOTESVC. 
The remote server returned an error: (405) Method Not Allowed. 

錯誤描述中的鏈接似乎是指基於Windows的主機。 該服務啓動並運行,並響應了我的要求:

enter image description here

我該如何解決呢?

回答

0

在Linux上沒有Web部署。這是一個Windows/IIS的東西。 Push with git instead.scm.服務(Kudu)知道如何處理Linux上的ASP.NET Core部署。

相關問題