chyanwu68
伍婷
2019-05-13 16:34

windows环境下安装docker来搭建fastfds服务连接失败

  • java

问题描述:
在windows10的环境下,安装docker,基于docker来搭建fastfds服务,出现连接失败。
root@linuxkit-00155d052103:/# cd /fdfs_conf/
root@linuxkit-00155d052103:/fdfs_conf# fdfs_monitor storage.conf
[2019-05-13 08:30:00] DEBUG - base_path=/fastdfs/storage, connect_timeout=30, network_timeout=60, tracker_server_count=1, anti_steal_token=0, anti_steal_secret_key length=0, use_connection_pool=0, g_connection_pool_max_idle_time=3600s, use_storage_id=0, storage server id count: 0

server_count=1, server_index=0
[2019-05-13 08:30:01] ERROR - file: ../common/connection_pool.c, line: 84, connect to 172.16.5.40:22122 fail, errno: 111, error info: Connection refused

storage.conf配置
tracker_server=172.16.5.40:22122
其中172.16.5.40:为windows(宿主机的)IP

  • 点赞
  • 回答
  • 收藏
  • 复制链接分享

0条回答