我正在使用VSCode的LiveServer插件来服务我的页面。我要把它送到443号港口。下面是我的settings.json文件。
{
"liveServer.settings.port": 443,
"liveServer.settings.root": "/",
"liveServer.settings.CustomBrowser": "chrome",
"liveServer.settings.https": {
"enable": true,
"cert": "xxx/https/localhost.pem",
"key": "xxx/localhost.key",
"passphrase": "XXXXXX"
} }只要我运行服务器,端口号就会自动从443变为444。有人能帮帮忙吗?提前谢谢。
发布于 2021-03-11 18:39:17
如果使用Windows,请打开Powershell并输入以下命令: Test-NetConnection -computername google.de -port 443
这将测试端口是否空闲
https://stackoverflow.com/questions/66577292
复制相似问题