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 HTTP server from the public network

2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

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

This article is about how to access the HTTP server from the external network. The editor thinks it is very practical, so I share it with you. I hope you can get something after reading this article. Let's take a look at it.

1. Preparation 1.1 install Java 1.7 and above

Execute the command java-version to check that Java is installed and configured correctly.

1.2 install and start the HTTP server

The default installed HTTP server port is 80.

two。 Implement step 2.1 download and extract the holer package

Holer package: holer-client.zip

2.2 modify the holer configuration file

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: HOLER_CLIENT-2A623FCB6E2A7D1D-Domain Name: holer65532.wdom.netInternet Address: holer.org:65532Local Address: 127.0.0.1purl 80-

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

The configuration item is updated to: HOLER_ACCESS_KEY=HOLER_CLIENT-2A623FCB6E2A7D1D

2.3 start the holer service

Enter the directory: holer-client/bin

Windows system platform:

Double-click startup.bat or open the CMD console and go to the directory to 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 to access the local HTTP server from the public network.

Http://holer65532.wdom.net or http://holer.org:65532

2.5 question consultation and help

If you encounter problems in the process of using holer, you can first check the holer log file, log path: holer-client/logs, so that it is easy to find out the specific cause of the problem.

For more examples of using holer, please refer to the technical materials related to holer.

The above is how to access the HTTP server from the external network. The editor believes that there are some knowledge points that we may see or use in our daily work. I hope you can learn more from this article. For more details, please follow the industry information channel.

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

Internet Technology

Wechat

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

12
Report