如何使用Holer从外网(公网)访问内网(局域网)网站?

2025-01-11 15:28:07
推荐回答(2个)
回答(1):

1. Install Java 1.7 or higher version;
使用前请先安装Java 1.7或者更高版本;
2. Install web server, take tomcat as an example;
安装Web服务端,以tomcat为例;

Install and start tomcat
安装并启动tomcat

Input the following URL in browser to check if tomcat service is accessible :
在浏览器里输入如下URL来检查tomcat服务是否可以正常访问:
http://127.0.0.1:8080
3. Download and unzip software holer-client.zip, modify configuration file:
下载并解压软件包holer-client.zip,修改配置文件:
holer-client/conf/holer.conf

Only need to set HOLER_ACCESS_KEY as follows:
只需设置HOLER_ACCESS_KEY如下:
HOLER_ACCESS_KEY=HOLER_CLIENT-2F8D8B78B3C2A0AE

4. Start holer
启动Holer服务
cd holer-client/bin

Windows:
Run command startup.bat or double click startup.bat

Linux:
Run command sh startup.sh
Then visit web application through the following URL:
然后就可以通过如下URL来访问Web应用:

http://holer.org:65530 or http://holer65530.wdom.net

回答(2):

Holer很麻烦通常我使用的是花生壳动态域名解析。