I'm trying to post tar archive from one remote server to another, but while I execute the command
curl --user "root:$password" -X POST -T archive.tar ip-address
I get
curl: (7) Failed connect to ip-address:80; Connection refused
What should I change at ip-address server to open 80 either 8080 ports?
These ports are not in listen state while I execute netstat -atpn
scpon the client to upload the file – Daniel T Feb 13 '24 at 07:51scpworked. Thank you! – palmasd1 Feb 13 '24 at 09:13