主流数据库监听地址修改


MariaDB
/etc/my.cnf
在my.cnf之mysqld章节,添加
[mysqld]
bind-address = 192.168.8.100


mongoDB
/etc/mongod.conf
在配置文件中取消注释并修改
bind_ip=192.168.8.101

PostgreSQL
主配置文件/var/lib/pgsql/data/postgresql.conf
listen_addresses = '*'
port = 5432


Redis
/etc/redis/6370.conf
在配置文件中取消注释并修改
bind 192.168.8.103

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-12-15
  • 2022-03-01
  • 2022-12-23
  • 2021-12-06
  • 2022-01-07
  • 2021-08-13
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-02-19
  • 2021-08-03
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案