I cannot believe that not only you are running HTTP server on "http://localhost", on default port; and that your have a sub-directory named "/127.0.0.1". It's more likely that you do not quite understand the URI scheme
; and you actual URL is "http://localhost/New".
Please see for more information: http://en.wikipedia.org/wiki/URI_scheme
I also not quite sure that you are running any HTTP server at all. Did you install one? You never mentioned it, and I suspect you don't quite understand how it works. Sorry if I'm wrong about it.
Also, I want to note that there are no situations where using a hard-coded URL is useful. However, if this is just a preliminary test, it's probably OK.