how to use cvs export remotely

Hello

I am trying to use cvs to export files from one of my servers (server A) to another (server B)
I am now in server B
for the sake of the example, assume that the IP address of server A is: 1.2.3.4

I tried the following:
cvs -d 1.2.3.4:/cvsroot export -DNOW folderName

I get the following error:

cvs [export aborted]: end of file from server (consult above messages if any)
1.2.3.4: Connection refused

what could be causing this?

regards

Does "checkout" instead of "export" work? And what about other commands, such as "rlog"? You are sure the connection is okay, not blocked by firewall or the like?

And what is your remote access method? You need to configure your CVS server to use one of remote access methods, e.g. ssh or pserver, before you can checkout/export/update/whatever remotely.