Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

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

2025-04-06 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/03 Report--

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.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report