Comments (2)
storage.conf上配置了外网也不会生效,只会读取storage本机内网地址的
from fastdfs-client-java.
自 V4.03
版本开始支持使用 storage_ids.conf
中的 id
解决,在 tracker.conf
有以下配置:
# if use storage server ID instead of IP address
# if you want to use dual IPs for storage server, you MUST set
# this parameter to true, and configure the dual IPs in the file
# configured by following item "storage_ids_filename", such as storage_ids.conf
# default value is false
# since V4.00
use_storage_id = true
# specify storage ids filename, can use relative or absolute path
# this parameter is valid only when use_storage_id set to true
# since V4.00
storage_ids_filename = storage_ids.conf
# id type of the storage server in the filename, values are:
## ip: the ip address of the storage server
## id: the server id of the storage server
# this paramter is valid only when use_storage_id set to true
# default value is ip
# since V4.03
id_type_in_filename = id
我用的 V6.07
版本,配置了多个 IP 地址,测试云上和本地都可以正常上传下载。
from fastdfs-client-java.
Related Issues (20)
- 关于所有带有1的对象和原对象的问题 HOT 1
- 获取IP地址错误 HOT 2
- 获取storageServer 连接失败connect to server 127.0.0.1:23000 fail, emsg:Connection refused: connect HOT 1
- 麻烦作者把jar包推送到maven仓库吧,不然挺麻烦的 HOT 1
- 请问一下fastdfs client能否指定上传的目录呢? HOT 2
- 申请发布到 Maven **仓库
- TrackerClient.listStorages协议传参最大长度和服务端不太符合
- java.lang.ArrayIndexOutOfBoundsException: Input to decode not an even multiple of 4 characters; pad with =. HOT 1
- 已经被删除的文件但是get_file_info方法会返回数据
- com.github.tobato.fastdfs.exception.FdfsConnectException: 无法获取服务端连接资源 端口号为0 HOT 1
- 推送maven**仓库 HOT 4
- fastdfs集群分片上传问题 HOT 2
- 建议支持文件同步不完整时,下载请求可以自动回源重定向
- so terrible
- ProtoStructDecoder.java有不安全的操作
- 该如何获取某个组下的全部文件 HOT 3
- 【分享问题】upload方法如果通过available()获取文件大小值大于INT的最大值,将会发生越界异常 HOT 2
- StorageClient需要每次调用时创建吧 Test样例中有些误导 HOT 1
- fastdfs是否支持S3?
- fastdfs的Tracker和nginx的区别是什么? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fastdfs-client-java.