Don't open browser if server is not listening, change localhost to 127.0.0.1