SFTP unable to connect from outside the local network

Core FTP Server questions and answers
Locked
tbestvater
Posts: 1
Joined: Fri Apr 20, 2012 8:24 pm

SFTP unable to connect from outside the local network

Post by tbestvater »

Setup CoreFTP server today for a SFTP service. Locally I can connect to the server no problem. When attempting to connect remotely I don't get anything other than a connection timed out error.

I believe I have tracked the issue down to the IP address that the domain is configured for. I thought putting the IP address of the router that is set to pass the traffic would work, but the activity view gives an error "The requested address is not valid in its context".

I've checked the router and verified that it is attempting to pass the traffic onto the CoreFTP server, so what IP address do I need to use on the CoreFTP server to allow connections from outside the local LAN? Using localhost and the specific IP assigned to the servers NIC did not work.

Thank you for any help that you can provide.
ForumAdmin
Site Admin
Posts: 987
Joined: Mon Mar 24, 2003 4:37 am

Post by ForumAdmin »

Use the server's local ip or "localhost" as the IP, then port forward 22 from your router to it.

Don't try and use the external IP in the setup, usually you will not be able to bind or listen to it because most servers are going to be using an internal IP.

You may also need to set a firewall exception to allow coresrvr.exe to accept connections through port 22.
Locked