My Restful App some times is not available on the network RRS feed

  • Question

  • User-1204637165 posted

    Dear All,

    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 .

    Thanks alot.

    Sunday, December 22, 2019 6:50 PM

All replies

  • User61956409 posted

    Hi InspiredJide,

    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.

    With Regards,

    Fei Han

    Monday, December 23, 2019 3:12 AM
  • User-1780421697 posted

    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 :  https://docs.microsoft.com/en-us/aspnet/core/host-and-deploy/health-checks?view=aspnetcore-3.1

    Monday, December 23, 2019 4:44 AM
  • User-1204637165 posted

    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.

    Monday, December 23, 2019 5:28 AM
  • User61956409 posted

    Hi InspiredJide,

    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.


    With Regards,

    Fei Han

    Tuesday, December 31, 2019 5:43 AM
  • User-1204637165 posted

    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.

    Wednesday, January 1, 2020 11:18 PM
  • User753101303 posted


    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 ???)

    Thursday, January 2, 2020 7:24 PM
  • User-1204637165 posted

    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.

    Best Regards,

    Friday, January 10, 2020 4:20 PM