Last post Jan 10, 2020 04:20 PM by InspiredJide
Dec 22, 2019 06:50 PM|InspiredJide|LINK
I have built Restful web app with asp.net core. I deployed it as a Self Contained application.
So the application currently works on a LAN. it works very well. but there is a strange problem which seems to be some network issues. There are some occassions when I notice that the web app is not browsable on other systems which are connecting to the
server computer that host the app.
This happens once in a while. So I use the Computer name to access the application yet I still face this problem.
I have enabled port on the firewall. I disabled antivirus on the server.
Please anyone with ideas on what the problem is .
Dec 23, 2019 03:12 AM|Fei Han - MSFT|LINK
There are some occassions when I notice that the web app is not browsable on other systems which are connecting to the server computer that host the app.
Please check the status of the request, does it return 404, 503 or others? If you got any error messages, please include that in your post, which would help troubleshoot the issue.
Dec 23, 2019 04:44 AM|Khuram.Shahzad|LINK
To fix the issue you need to trace it, when you found the exact issue, its easy to solve it.
In the web.config of your dot net core application., set the value of stdoutLogEnabled="false" to
stdoutLogEnabled="true" , Ceate a folder name "logs" in your application root and now all set for logging, you can check the log later and that will give you exact idea about the isssue.
Another solution is : Enable health check in your application detail is :
Dec 23, 2019 05:28 AM|InspiredJide|LINK
Thanks the problem does not seem to be from the web application. becuase I notice that anytime there is no connection. I try to browse the web app or other demo apps or default app on the client system. There would be no connection.
Take for example. I try to browse port 80 to see If I would seee the default iis page from the client system. I dont get to see it.
Been knocking my head arround the antivirus. dont know. given firewall permission.
Dec 31, 2019 05:43 AM|Fei Han - MSFT|LINK
According to your description and test, the problem now seems IIS setup and hosting environment related, not web application issue. If you have further question about IIS server setup, please post on this forum.
Jan 01, 2020 11:18 PM|InspiredJide|LINK
When this issue happens. Even other website on the server computer are not browsable. So it not about my application. It more of a networking issue.
Jan 02, 2020 07:24 PM|PatriceSc|LINK
When you tell "sometimes" do you mean it later works later on the same machine and then not again? Or that it never works on some machine and always on other machines ? As suggested already uou could use F12 Network to see what happens for the http request.
You could check also check the web server log to see if the request reaches the server.
Do you have someone on charge of that where you work (could it be the server is rebooted or whatever ???)
Jan 10, 2020 04:20 PM|InspiredJide|LINK
The machine that hosts the server always works. It is the connect from the client computers that failes on a few occassions.
more like when you are trying to browse yahoo.com from your web browser. A scenario were it most times works but on a few occasion connection is lost.