Home  >  Article  >  Java  >  How to use Holer to access local SpringBoot through the external network

How to use Holer to access local SpringBoot through the external network

WBOY
WBOYforward
2023-05-10 19:49:041279browse

1.1 Install Java 1.7 and above

Execute the command java -version to check whether the Java installation and configuration are correct.

1.2 Install and start SpringBoot

The default installed SpringBoot port is 8080.

2. Implementation steps

2.1 Download and decompress the holer software package

Holer software package: holer-client.zip

2.2 Modify the holer configuration file

Apply for an exclusive holer access key on the holer official website or use the access key information disclosed in the open source community.

For example, the holer information obtained through the application is as follows. Here is the holer information as an example:

---------------------------------------------
Holer Client : holerdemo@gmail.com
Access Key : 6688daebe02846t88s166733595eee5d
---------------------------------------------
Domain Name : holer65004.wdom.net
Internet Address : holer.org:65004
Local Address : 127.0.0.1:8080
---------------------------------------------

Modify the configuration file: holer-client/conf/holer.conf

The configuration item is updated to: HOLER_ACCESS_KEY=6688daebe02846t88s166733595eee5d

2.3 Start the holer service

Enter the directory: holer-client/bin

Windows system platform:

Double-click startup.bat or open the CMD console, enter the directory and execute the command: startup.bat

Linux system platform:

Execute command: sh startup.sh

2.4 Access the mapped public network address

Enter the following URL in the browser , you can access local SpringBoot from the public network.

http://holer65004.wdom.netorhttp://holer.org:65004

2.5 Problem consultation and help

If you encounter problems while using Holer, you can first check the Holer log file. Log path: holer-client/logs. This will make it easy to find out the specific cause of the problem.

The above is the detailed content of How to use Holer to access local SpringBoot through the external network. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:yisu.com. If there is any infringement, please contact admin@php.cn delete