Is there a way to block chrome or firefox from accessing anything located at localhost?
I built my web application on top of a LAMP stack @ localhost and it's kind of big (for me) and I would like to test it, but when I access site.com it loads all the resources that are linked on http://localhost/ because they are on my machine but it doesnt load those resources when I try to access the website from another computer.
So, I need to test the application and it would be nice to just block localhost completely.
A workaround I found was using a proxy addon in firefox and blacklisting http://localhost/* but it's extremely slow because the proxies are free.
So I would like to find a way to just block localhost completely in any of these browsers and that would make my life much easier.