I have not tested on windows. but in ubuntu when you disconnect from the network, start Apache, and enter localhost in any browser, it does not show the page it is supposed to show.
127.0.0.1 localhost
127.0.1.1 vksTP
# this is how the /etc/hosts looks for IPv4
One solution, is to use the browser in offline mode. but that is not a proper solution I think. Do i change something in resolv.conf
or /etc/hosts
?