setting up a server on localhost