External network access to intranet Redis database

Introduction: A Redis database is installed locally, which can only be accessed within the local area network. How can I access the local Redis database from the external network?
This article will introduce the specific implementation steps.

  1. Preparing to install and start the Redis database The default installation of the Redis database port is 6379.

Use tool Holer

Holer is a port mapping software that maps applications in the local area network to public network access, and supports forwarding packets based on the TCP protocol.
Website: Holer

Holer supports the following two ways of use, according to actual needs, you can choose one of them:

method one:

Use public Holer mapping or open Holer service, and realize public network access through Holer server through Holer client software.

Way two:

Use the holer server software to build the holer service, and realize the public network access through the holer client software through its own server.

Holer client software has Java version and Go version. You can choose one of them according to your preference.

For more usage examples of holer, please refer to the official documentation. http://blog.wdom.net/tag/Holer

Another way of intranet penetration: free high-speed nail intranet penetration
https://blog.csdn.net/COCO56/article/details/108123381

The remaining steps: https://developer.aliyun.com/article/665986

Guess you like

Origin blog.csdn.net/qq_44810930/article/details/112467282
Recommended