Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/asp.net-core/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Asp.net core 如何在我的Raspberry Pi 4上托管Asp.Net核心网站?_Asp.net Core_Web Hosting_Raspberry Pi4 - Fatal编程技术网

Asp.net core 如何在我的Raspberry Pi 4上托管Asp.Net核心网站?

Asp.net core 如何在我的Raspberry Pi 4上托管Asp.Net核心网站?,asp.net-core,web-hosting,raspberry-pi4,Asp.net Core,Web Hosting,Raspberry Pi4,我试图在我的Raspberry Pi 4上托管我的Asp.Net核心网页,但网站无法访问它。我已经禁用了防火墙等,我已经尝试了一些教程,但它并没有真正帮助我。我可以托管默认的Asp.Net页面,但无法访问我的应用程序。有人能帮我吗? 这就是我的终端的外观: info: Microsoft.Hosting.Lifetime[0] Now listening on: https://localhost:5001 info: Microsoft.Hosting.Lifetime[0]

我试图在我的Raspberry Pi 4上托管我的Asp.Net核心网页,但网站无法访问它。我已经禁用了防火墙等,我已经尝试了一些教程,但它并没有真正帮助我。我可以托管默认的Asp.Net页面,但无法访问我的应用程序。有人能帮我吗? 这就是我的终端的外观:

info: Microsoft.Hosting.Lifetime[0]
      Now listening on: https://localhost:5001
info: Microsoft.Hosting.Lifetime[0]
      Now listening on: http://localhost:5000
info: Microsoft.Hosting.Lifetime[0]
      Application started. Press Ctrl+C to shut down.
info: Microsoft.Hosting.Lifetime[0]
      Hosting environment: Development
info: Microsoft.Hosting.Lifetime[0]
      Content root path: C:\Users\Aydin\Desktop\PlaudertischSoftware\PlaudertischSoftware

您试图从哪里打开Asp.Net核心网站?从Pi或网络上的其他设备?如果要将网站绑定到本地主机,它可能只侦听本地连接。尝试将其更改为0.0.0.0,因为我尝试从我的pi托管它。是的,我把它绑定到一个localhosts上,我试着让它像Stackoverflow帖子中那样,但它仍然只监听本地连接