我在服务器的端口3001上运行了一个简单的noedjs服务器。
我在我的网站旁边使用这个nodejs服务器,它通过一些webserver运行在端口80上(不知道其他人做了什么配置)。
您可以在这里访问我的nodejs服务器
问题是当客户端使用vpn或代理时,端口3001上的nodejs服务器停止响应,我得到以下内容
ERROR
The requested URL could not be retrieved
The following error was encountered while trying to retrieve the URL: http://88.198.164.43:30
我有一个简单的扩展,它使用VS Code's webview api从我的扩展产生的服务器加载内容。它使用指向localhost的iframe来完成此操作 import * as vscode from 'vscode';
import * as express from 'express';
const PORT = 3000;
export function activate(context: vscode.ExtensionContext) {
// Spawn simple server
const app = expre