Download Themes From LocalHost WordPress Site [closed]

Probably your local FTP service is not running. You can verify this by trying to connect to the local FTP server at the command prompt:

ftp localserver

and it will ask for your credentials.

Also possible is that ‘localserver’ is not being resolved locally. You can check that with a command

nslookup localserver

And seeing if it gives you your servers’ IP address.

But this is not a WP Development question. Ask the googles/bings/ducks for help with enabling/starting your local FTP service.