allow copying to different port (useful with ssh tunnel)