[英]Unable to run Live Server on 443 port
I am using LiveServer plugin of VSCode to serve my pages.我正在使用 VSCode 的 LiveServer 插件来提供我的页面。 I need to serve it on port number 443. Below is my settings.json file.我需要在端口号 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"
} }
As soon as i run the server the port number automatically changes from 443 to 444. Can anyone please help?一旦我运行服务器,端口号会自动从 443 更改为 444。有人可以帮忙吗? Thanks in advance.提前致谢。
If you use Windows, open Powershell and enter the following command: Test-NetConnection -computername google.de -port 443如果使用 Windows,打开 Powershell 并输入以下命令:Test-NetConnection -computername google.de -port 443
This will test if the port is free or not这将测试端口是否空闲
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.