设置为 localhost 这是您尝试连接的主机。您不需要包含端口。请注意,您需要在生产中使用证书。
localhost
您可能还想查看非常有用的Chrome标记,它忽略了localhost上的证书错误:chrome:// flags /#allow-insecure-localhost