HTTP Status 504

前端 未结 6 2156
旧巷少年郎
旧巷少年郎 2020-12-04 19:00

I\'m getting the following error when my win32 (c#) app is calling web services.

The request failed with HTTP status 504: Gateway timeout server response ti         


        
6条回答
  •  时光取名叫无心
    2020-12-04 19:38

    If your using ASP.Net 5 (now known as ASP.Net Core v1) ensure in your project.json "commands" section for each site you are hosting that the Kestrel proxy listening port differs between sites, otherwise one site will work but the other will return a 504 gateway timeout.

     "commands": {
        "web": "Microsoft.AspNet.Server.Kestrel --server.urls http://localhost:5090"
      },
    

提交回复
热议问题