LocalServer should only allow connections from localhost.