You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I need to make an FTP call with a fixed IP, so I'm using Fixie Socks.
I evidently have the proxy socket opening with socksv5, but when trying to access the FTP site I get:
Error: connect ECONNREFUSED 127.0.0.1:21
Here's the code:
SocksV5.connect(socksV5ConnectArgs,async(socket: any)=>{try{constftpOptions={secureOptions: { socket },user: FTP_USERNAME,password: FTP_PASSWORD,}constpromiseFtpClient=newPromiseFtp();// Next line failsconstftpPromiseResult=awaitpromiseFtpClient.connect(ftpOptions)constlistResult=promiseFtpClient.list();console.log(listResult);}catch(err){console.log(err);}});
I've tried a number of other combinations to try and get this to work, but there's no indication if I am or am not passing the socket correctly along with the username/password combo, and I don't know what exactly is failing because the error message is vague. Is there a way to make this work? Thank you!
The text was updated successfully, but these errors were encountered:
I need to make an FTP call with a fixed IP, so I'm using Fixie Socks.
I evidently have the proxy socket opening with socksv5, but when trying to access the FTP site I get:
Error: connect ECONNREFUSED 127.0.0.1:21
Here's the code:
I've tried a number of other combinations to try and get this to work, but there's no indication if I am or am not passing the socket correctly along with the username/password combo, and I don't know what exactly is failing because the error message is vague. Is there a way to make this work? Thank you!
The text was updated successfully, but these errors were encountered: