Home > other >  CwRsync across server file synchronization problem
CwRsync across server file synchronization problem

Time:10-05

The reality is that the project has two servers between inner and outer net, the internal and external network files need to be synchronized, but two servers only opens the specified network port, not through the IP access; Consult everybody a great god

CodePudding user response:

reference
opens the specified network port only, cannot access via IP


Didn't understand what you mean

CodePudding user response:

Is are not allowed to access the network IP, can only through the specified network port for a visit

CodePudding user response:

reference 1st floor Runnerchin response:
reference
opens the specified network port only, cannot access via IP


Didn't understand what do you mean


Is are not allowed to access the network IP, can only through the specified network port for a visit

CodePudding user response:

That the synchronization service directly to the port with the available ports is ok, what's problem you met?

CodePudding user response:

The configuration file:
Use chroot=false
Strict modes=false
Hosts allow=*
Max connections=10
Port=8173
Motd file=rsyncd. Motd
The log file=rsyncd. Log
The pid file=rsyncd. Pid
Transfer logging=yes
[test]
Path=/cygdrive/d/test
Read only=false
Transfer logging=yes
Read only=yes
The list=no
Hosts allow=114.221.181.102
Hosts deny=*
Uid=0
Gid=0
Lock the file=rsyncd. Lock

Windows script
Rsync - avzP rsync://114.221.181.102/test/cygdrive/e/test

Windows script called IP: 114.221.181.102, shows access denied

CodePudding user response:

See if there are any more detail at the log file, but look at the prompt, should pay attention to the end,
The specified port is the default port or custom port?

CodePudding user response:

Custom specified port is port; Information security is not due to our side to access IP address, so now also ping ping IP impassability

CodePudding user response:

Than the default port, I see your Windows didn't have the port parameters in the script, so should walk the default port 873,

CodePudding user response:

It like this?
Rsync - avzP 'SSH - port1521 rsync://114.221.181.102/test/cygdrive/e/test

CodePudding user response:

Rsync - avzP 'SSH -p 1521' rsync://114.221.181.102/test/cygdrive/e/test

CodePudding user response:

Your order no problem, just add a port 1521

CodePudding user response:

Okay, I try
  • Related