sets server to localhost