Sysax Product Forums / Sysax Multi Server / General Discussion / Connecting via domain name vs. IP
Posted:  24 Jun 2009 01:54
I setup the SFTP server to run on my PC. I also have a DNS A record that points to the same IP address.  For example ftp.abc.com.

When I ping the domain name it resolves to the correct IP address.

I can connect to the SFTP server via IP address, but when I connect via domain name the authentication fails.


Here is a paste of some info:

Status:    Connecting to ftp.abc.com:22 ...
Status:    Connected with ftp.abc.com:22, initializing SFTP connection...
Command:CONNECT test_user@ftp.abc.com:22
Response: Fatal: Unable to authenticate

vs. by IP

Status:    Connecting to 1.2.3.4:22 ...
Status:    Connected with 1.2.3.4:22, initializing SFTP connection...
Command:CONNECT test_user@1.2.3.4:22
Response:Remote working directory is /
Status:    Connected
Status:    Retrieving directory listing...

Thoughts?
Posted:  24 Jun 2009 22:21   Last Edited By: sysaxsupport
If the domain name resolves to the same IP address, using either the domain name or the IP address should work. You could try forcing the server to listen only on the specific domain (using the domain name instead of the IP address)


------------------------------------------------
FTP and FTP Server for Windows
 

Copyright © 2021 Codeorigin, LLC - All Rights Reserved.
XML RSS 2.0 XML Atom 1.0