Author Topic: .net core website  (Read 122 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
.net core website
« on: November 23, 2021, 04:00:30 PM »
Hi,

i have a .net core 5 API that i am trying to host and i have been able to get the localhost website to launch, however having some issues with ngnix.

i followed the guide here: http://wiki.centos-webpanel.com/install-dotnet-sdk-and-running-a-project-example

and put in the custom port text box: 5000

however when i visit the website, i automatically get forwarded to https://domain.com:5001 and i get a ERR_CONNECTION_REFUSED error on client machine.

has anybody been able to host a .net core 5 website in CWP and are they able to help me?

Offline
*****
Re: .net core website
« Reply #1 on: November 24, 2021, 05:48:24 PM »
thats mean the application is not running on the requested port.