Error in FTP connection using FTP Username, FTP Server? - ftp

I have following details only
Host:ftp.xyz.com Port:21 User:xyz Password:xyz#123
When i am trying to connect ftp using Filezilla it show error like
Status: Resolving address of ftp.xyz.com
Status: Connection attempt failed with "EAI_NONAME - Neither nodename nor servname provided, or not known".
How can I resolve this error. Please help me for the same.
Thanks in Advance Guys!

The address cannot be resolved. Try using the IP address instead, or delete ftp. from the beginning.

Related

clickhouse-client get error "Timeout exceeded while reading from socket"

I'm newbie to clickhouse, I'm trying to create a clickhouse database on my unbuntu 18.04 remote server, I follow instruction to install click house from DEB package in this link: https://clickhouse.tech/docs/en/getting_started/install/#from-sources
after that when I run command clickhouse-client it shows something like this :
root#busmap-api-test:~# clickhouse-client
ClickHouse client version 20.3.5.21 (official build)
Connecting to localhost:9000 as user default.
Code: 209. DB::NetException: Timeout exceeded while reading from socket (127.0.0.1:9000)
Can someone help me to figure out what is the problem and how I can solve it?
Thanks,
Follow these steps to resolve the issue:
check that clickhouse-server-service started
service clickhouse-server status
check the server logs to find the possible reason
cat /var/log/clickhouse-server/clickhouse-server.err.log
if occured the error 'Address already in use':
{} <Error> Application: Net Exception: Address already in use: [::1]:9000
{} <Error> Application: Net Exception: Address already in use: 127.0.0.1:9000
need to switch CH-server to any other port by editing tcp_port-param in /etc/clickhouse-server/config.xml-file:
..
<tcp_port>9032</tcp_port>
..
restart CH-server service:
service clickhouse-server restart
and connect this way
clickhouse-client --port 9032
I actually had this problem too but I got it working with the default port.
The setting should be this way if you want to connect remotely and be able to use the loopback from localhost.
<listen_host>::1</listen_host>
<listen_host>0.0.0.0</listen_host>
This allows the loopback method to work (i.e clickhouse-client no args) on localhost to connect through the IPV6 route, and the remote connection (i.e clickhouse-client -h <hostname>) through the IPV4 connection.
My original problem was that i only used <listen_host>0.0.0.0</listen_host> in my config which meant theclickhouse-client no args would not work on localhost. And I could not get both to work by adding <listen_host>127.0.0.1</listen_host>

How to fix "mount_smbfs: server connection failed: No such file or directory"

Use command "mount_smbfs //username:password#server/Shared /Volumes" to connect with Windows Server, but it return with "mount_smbfs: server connection failed: No such file or directory"
>>mount_smbfs //username:password#server/Shared /Volumes
mount_smbfs: server connection failed: No such file or directory
I can not use "Finder->Go->Connect to Server" neither. Each server I connect to as "smb://server" would return an error "There was a problem connecting to the server".
Beside, I could ping the server successfully.
The real problem is that SMB didn't work in My Mac, and someone give a workaround to fix it.
You can visit it

Connection Refused for Shinyapp Authorization - Proxy? Firewall?

When I try to authorize my account for shinyapps, I receive the following error:
Error in function (type, msg, asError = TRUE) :
Failed to connect to api.shinyapps.io port 443: Connection refused
I know that it has something to do with my proxy or firewall settings, but I do not know how to get around this.
I am not sure how to specify a proxy for \code{rcurl} and \code{curl} connections - as I think this may be the fix?
Any help is appreciated!
If you're using the shinyapps package you can read the proxy documnation by running the following commands from your R console:
?shinyapps::rsconnectProxies

I can FTP with my Browser and Cyberduck but not Filezilla

I have seen different topics with variations on this question but so far I was not able to resolve the problem. I am able to FTP via Firefox, Safari and Cyberduck but when attempting the same with FileZilla I get the following error:
Status: Resolving address of ftp.url.co.uk
Status: Connecting to IPADDRESS:21...
Status: Connection established, waiting for welcome message...
Response: 220-Welcome To Rumpus!
Response: 220 Service ready for new user
Command: USER EE
Response: 331 Password required
Command: PASS ***********
Response: 530 Login failed
Error: Critical error
Error: Could not connect to server
Is this a FileZilla/Firewall problem? Why can I do it so easily via other clients?
Thanks
Hey I fixed the issue by reinstalling everything. Really weird....Thanks.

"nc: getaddrinfo: nodename nor servname provided, or not known" with shell script

I'm trying to communicate with my server and send telnet commands (login and logout again). For this I generated a shell skript and getting the error message "nc: getaddrinfo: nodename nor servname provided, or not known".
The specific line is:
(sleep 1&echo $login&sleep 1&echo $password&sleep 1&echo exit) | nc $IP 23 > dump.out
When I execute this line (and for sure the export lines before) directly in the terminal it works without any problem, but when I execute the script, I get the error message.
Can anyone help? Any help would be appreciated. Thanks in advance.
Check this out:
nc: getaddrinfo: nodename nor servname provided
This error means netcat was unable to look up the requested host in DNS. Usually this means you either have a typo somewhere, or your the pagekite.py connector on the SSH server side is not running properly.
Try to check your packages, something is either wrong with your script or the DNS request.
Hope it helps! :)
Source: http://pagekite.net/wiki/Howto/SshOverPageKite/#ncdns

Resources