Home > Back-end >  Fastdfs server - storage get is null, the connect timeout
Fastdfs server - storage get is null, the connect timeout

Time:09-23

Build a fastdfs image server,

Centos self-test within all,

Configuration file confirmed many times,

Virtual machine host ping each other are normal

Centos firewall are closed

Use Java application load fastdfs things are null, really don't know why, please leaders solve thank you very much

CodePudding user response:

The client ever initialization
 ClientGlobal. Init (" fdfs_client. Conf "); 
TrackerClient TrackerClient=new TrackerClient (ClientGlobal g_tracker_group);
TrackerServer TrackerServer=trackerClient. GetConnection ();

CodePudding user response:

reference 1/f, a big wave program apes response:
client been initialized
 ClientGlobal. Init (" fdfs_client. Conf "); 
TrackerClient TrackerClient=new TrackerClient (ClientGlobal g_tracker_group);
TrackerServer TrackerServer=trackerClient. GetConnection ();

Some others, the configuration file is checked
  • Related