Deploy Redis to cloud server

Purchase a cloud server from a service provider

Set the TCP port number in the cloud server

Configure the open port of the cloud server
insert image description here
to test whether the port is available through telneat
insert image description here

Configure redis server

  • Need to configure the ip of your own cloud server
    insert image description here
  • Protected mode off, allowing other remote connections
    insert image description here
  • Set the port number consistent with that of the cloud server
    insert image description here
  • Open this to set the redis connection password, which is more secure
    insert image description here

Guess you like

Origin blog.csdn.net/weixin_50503886/article/details/131493935
Recommended