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

Example Analysis of HTTP and HTTPS visiting Native localhost WEB Server website

2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

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

HTTP and HTTPS visit the native localhost WEB server website example analysis, I believe that many inexperienced people do not know what to do, so this article summarizes the causes of the problem and solutions, through this article I hope you can solve this problem.

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?

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 the holer 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:

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.

After reading the above, have you mastered the method of sample analysis for HTTP and HTTPS to visit the native localhost WEB server website? If you want to learn more skills or want to know more about it, you are welcome to follow the industry information channel, thank you for reading!

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