When IIS is stopped on a server, it’s expected that every requests to the server afterwards will return status 0.
If the status code is anything aside from 0, that means that another service is running on the same port in the same server. For testing, make sure those are stopped.
One such service I encountered recently was the SQL Server Reporting Services. If it runs while IIS is turned off 404 will be returned instead of 0.