Get the App
SLTechnology News&Howtos  ›  Development  › 

How to access the local RESTful API from the public network by Holer

Shulou Source: shulou.com Published: 2022-06-03 02:38:05 10月02日 Update

This article will explain in detail how Holer can access the local RESTful API through the public network. The editor thinks it is very practical, so I share it with you as a reference. I hope you can get something after reading this article.

Public network accesses private network RESTful API

The RESTful API server program is installed on the host of the intranet, which can only be accessed in the local area network. How can I access the local RESTful API from the public network?

1. Prepare work 1.1 install and start the RESTful API server program

The default installed RESTful API server software port is 8088.

two。 Implement step 2.1 download and extract the holer package

Holer package: holer-xxx.tar.gz

Holer supports a variety of OS system platforms, please select the holer package that matches the local OS type.

2.2 get holer access key information

Apply for your own holer access key on Holer's official website or use access key information publicly available in the open source community.

For example, the holer information you applied for is as follows. Here we take the holer information as an example:

-Holer Client: holerdemo@gmail.comAccess Key: 6688daebe02846t88s166733595eee5d-Domain Name: holer65004.wdom.netInternet Address: holer.org:65004Local Address. 0.0.1 8088-2.3 start the holer service

Windows system platform:

Open the CMD console, go to the directory where the executable is located, and execute the command:

Holer-windows-xxx.exe-k 6688daebe02846t88s166733595eee5d

Linux or other system platforms:

Execute the command: nohup. / holer-xxx-xxx-k 6688daebe02846t88s166733595eee5d &

2.4 access the mapped public network address

Enter the following URL in the browser and you can access the local RESTful API from the public network as well.

Http://holer65004.wdom.net or http://holer.org:65004

2.5 question consultation and help

When you encounter problems in the process of using holer, you can first check the log information printed by the holer console, so that it is easy to find out the specific cause of the problem.

This is the end of the article on "how Holer can access the local RESTful API from the public network". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, please share it for more people to see.

Tags: Information software services platforms programs articles systems software packages questions public networks commands consoles more help control good practical content reason address Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno vpn Xiaomi OPPO Reno Microsoft Huawei