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

Steps for HTTP and HTTPS to access the native localhost WEB server

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

Share

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

This article mainly explains the "steps for HTTP and HTTPS to access the native localhost WEB server". The content of the article is simple and clear, and it is easy to learn and understand. Please follow the editor's train of thought to study and learn "the steps for HTTP and HTTPS to access the native localhost WEB server".

HTTP and HTTPS access native WEB server

The WEB server is installed on the intranet host, which can only be accessed within the local area network or on the local computer. How can I access the local WEB server from the public network?

This article describes the specific steps to implement using holer.

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 WEB server

The default installation of the WEB server HTTP port is 80jie HTTPS port is 443.

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: 6688daebe02846t88s166733595eee5d-Domain Name: holer65004.wdom.netInternet Address: holer.org:65004Local Address. 0.0.1:80-Domain Name: holer65014.wdom.netInternet Address: holer.org:65014Local Address: 127.0.0.1 virtual 443-

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

HTTP access: http://holer65004.wdom.net or http://holer.org:65004

HTTPS access: https://holer65014.wdom.net or https://holer.org:65014

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.

Thank you for your reading. the above is the content of "steps for HTTP and HTTPS to access native localhost WEB servers". After the study of this article, I believe you have a deeper understanding of the steps of HTTP and HTTPS to access native localhost WEB servers, and the specific use needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!

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