Server 能否从外部访问在公共wifi中创建的web服务器?
我在公共wifi的vscode中使用vue http服务器构建Web服务器。但我无法从另一个网络访问该服务器。是否有任何部分需要单独设置?端口或协议之类的东西…可能是不可能使Web服务器具有公共wifi?我已经完成了Server 能否从外部访问在公共wifi中创建的web服务器?,server,wifi,public,Server,Wifi,Public,我在公共wifi的vscode中使用vue http服务器构建Web服务器。但我无法从另一个网络访问该服务器。是否有任何部分需要单独设置?端口或协议之类的东西…可能是不可能使Web服务器具有公共wifi?我已经完成了npm运行构建。然后我输入了npm安装http服务器-g。然后键入httpserver./dist/。这还不够吗? (html和js文件在localhost中呈现良好。)
npm运行构建
。然后我输入了npm安装http服务器-g
。然后键入httpserver./dist/
。这还不够吗?
(html和js文件在localhost中呈现良好。)