Doesn't work local host Rated 3 out of 5 stars

It works perfectly fine on the server, but it doesn't work in the localhost.