Portal page not loading with localhost

I have created a simple portal page under my app.But when I am trying to browse every time I am getting a 404 Error.Should I do any thing extra to server my portal page under localhost?

share file location and file name and url you are trying on browser.

file location: www/test.html
URL which I have tried : http://library.test:8000/test