Elliot JJ
Elliot JJ

Reputation: 553

WinSCP: The requested name is valid, but no data of the requested type was found. Connection failed

I'm supposed to access a server, but when I use WinSCP with FTP protocol to log in, I just get a warning that

The requested name is valid, but no data of the requested type was found. Connection failed.

I really have very little experience with working remotely on servers, or even logging into them. What are my alternatives?

Upvotes: 1

Views: 6930

Answers (5)

Martin Prikryl
Martin Prikryl

Reputation: 202494

This is the WSANO_DATA. error Quoting Microsoft documentation:

The usual example for this is a host name-to-address translation attempt ... which uses the DNS (Domain Name Server). An MX record is returned but no A record—indicating the host itself exists, but is not directly reachable.

(This can possibly happen for newly registered domain names that are no fully setup yet.)

See:
https://learn.microsoft.com/en-us/windows/win32/winsock/windows-sockets-error-codes-2#WSANO_DATA or
https://winscp.net/eng/docs/message_name_no_data

It could have been a temporary issue. Also make sure you specify your hostname without the leading ftp:// (though the latest version of WinSCP will strip it automatically).

Upvotes: 6

Farshid
Farshid

Reputation: 5364

If you are typing your address like ftp://ftp.domain.com or things like that, remove the first part and just keep ftp.domain.com in your host address box.

Upvotes: 2

Felipe
Felipe

Reputation: 11887

You're probably using WinSCP to send or get files from/to the server, right? You might want to state that in your question. For that, you're probably better off with FileZilla. (You need the FileZilla client, not the Server)

Upvotes: -1

Sandeep Pathak
Sandeep Pathak

Reputation: 10747

You can find a very nice discussion on the same issue with WinSCP here

You can also try FileZilla or Putty

Upvotes: 2

brc
brc

Reputation: 5391

You might want to consider PuTTY, which comes with a number of tools including a ssh client and a secure copy tool like WinSCP called pscp. Possibly even more valuable is the psftp client, which allows secure ftp to remote servers. PuTTY can be run from a usb drive, making it easy to carry with you to any computer, allowing you to remote into your server from all over the world.

Upvotes: 0

Related Questions