How to let Firefox visit loop address on offline?

How to let Firefox visit loop address on offline?

I want to visit localhost (127.0.0.1) without internet or intranet.
How do I?

Just go to http://localhost/index.html (or whatever the HTML file is called).

Localhost networking works even if you don’t have a NIC.

I’ve tried again.
It’s right.

I set apache2 as runlevel and tried to visit localhost without open my wireless at startup.
but it showed “Failed to Connect”.
So I 'm surprised and posted this question.

thanks