ports needed - WeOnlyDo Discussion board

ports needed (wodSFTP / wodSFTP.NET / wodSFTPdll)

by Limey, Wednesday, October 15, 2014, 16:08 (3452 days ago)

Does wodSFTP use any other ports beyond 22? I have an app that is working in all places except the production server, and I can log in and use an SFTP client to successfully connect to the SFTP server.

I always get the following error though when attempting thru my app:

System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond XXX.XXX.XXX.XXX:22

Thanks

ports needed

by Jasmine, Wednesday, October 15, 2014, 16:12 (3452 days ago) @ Limey

Hi.

wodSFTP uses only port 22. In SFTP there are no subsequent data connections like in regular FTP.

If your app doesn't work, perhaps your firewall blocks outgoing connections? This may happen for ASP apps, or apps running with guest user privileges.

Regards,
Jasmine

ports needed

by Limey, Wednesday, October 15, 2014, 16:15 (3452 days ago) @ Jasmine

thanks Jasmine,

I can log into the box and, using an SFTP client, connect to the remote server. So I don't think its a firewall issue.

ports needed

by Jasmine, Wednesday, October 15, 2014, 16:21 (3452 days ago) @ Limey

Hi.

If other clients work, then wodSFTP will work too. Can we somehow duplicate your problem?

Did you try our samples, do they work?

Jasmine

ports needed

by Limey, Wednesday, October 15, 2014, 16:24 (3452 days ago) @ Jasmine

My app works locally and in our stage environment, just not on this production server. I'm going to have the SAs try moving it to another box, just to see if it will work there.